final changes before big refactor...

This commit is contained in:
2026-02-07 19:06:03 +00:00
parent 5911da7f99
commit 7d793c45dc
5 changed files with 14 additions and 16 deletions

View File

@@ -114,14 +114,14 @@
# gamescope = pkgs_gamescope.callPackage packageNix { }; # gamescope = pkgs_gamescope.callPackage packageNix { };
# } # }
# ) # )
# (self: super: { (self: super: {
# intel-npu-driver = super.intel-npu-driver.overrideAttrs (oldAttrs: rec { intel-npu-driver = super.intel-npu-driver.overrideAttrs (oldAttrs: rec {
# installPhase = '' installPhase = ''
# mkdir -p $out/lib/firmware mkdir -p $out/lib/firmware
# ${oldAttrs.installPhase} ${oldAttrs.installPhase}
# ''; '';
# }); });
# }) })
(final: prev: { (final: prev: {
vesktop = prev.vesktop.overrideAttrs (old: { vesktop = prev.vesktop.overrideAttrs (old: {
preBuild = '' preBuild = ''

View File

@@ -1,4 +1,7 @@
{inputs, ...}:{imports = [inputs.disko.nixosModules.disko]; disko.devices = { { inputs, ... }:
{
imports = [ inputs.disko.nixosModules.disko ];
disko.devices = {
disk = { disk = {
main = { main = {
device = "/dev/nvme0n1"; device = "/dev/nvme0n1";

View File

@@ -44,8 +44,7 @@ in
PLATFORM_PROFILE_ON_AC = "balanced"; PLATFORM_PROFILE_ON_AC = "balanced";
PLATFORM_PROFILE_ON_BAT = "quiet"; PLATFORM_PROFILE_ON_BAT = "quiet";
START_CHARGE_THRESH_BAT0 = 40; # 40 and below it starts to charge STOP_CHARGE_THRESH_BAT0 = 80;
STOP_CHARGE_THRESH_BAT0 = 80; # 80 and above it stops charging
}; };
}; };
services.thermald.enable = true; services.thermald.enable = true;

View File

@@ -128,7 +128,6 @@ in
enable = true; enable = true;
}; };
# Load nvidia driver for Xorg and Wayland
services.xserver.videoDrivers = [ "nvidia" ]; services.xserver.videoDrivers = [ "nvidia" ];
fileSystems."/mnt/2tb" = { fileSystems."/mnt/2tb" = {

View File

@@ -16,7 +16,7 @@ in
inputs.nixvim.homeModules.nixvim inputs.nixvim.homeModules.nixvim
./plugins ./plugins
]; ];
config.home.packages = with pkgs; [ extraPackages = with pkgs; [
# formatters # formatters
nixfmt nixfmt
rustfmt rustfmt
@@ -57,9 +57,6 @@ in
nixd = { nixd = {
enable = true; enable = true;
}; };
astro = {
enable = true;
};
ts_ls = { ts_ls = {
enable = true; enable = true;
}; };