feat: move hardware configuration to host dir && enable nvidia power management
This commit is contained in:
@@ -33,7 +33,7 @@
|
|||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
specialArgs = {inherit inputs self;};
|
specialArgs = {inherit inputs self;};
|
||||||
modules = [
|
modules = [
|
||||||
./hardware-configuration.nix
|
./hosts/kachu-pc/hardware-configuration.nix
|
||||||
./hosts/kachu-pc/configuration.nix
|
./hosts/kachu-pc/configuration.nix
|
||||||
./shared/programs/spicetify.nix
|
./shared/programs/spicetify.nix
|
||||||
inputs.spicetify-nix.nixosModules.default
|
inputs.spicetify-nix.nixosModules.default
|
||||||
|
|||||||
@@ -53,5 +53,6 @@
|
|||||||
open = true;
|
open = true;
|
||||||
nvidiaSettings = true;
|
nvidiaSettings = true;
|
||||||
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||||
|
powerManagement.enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user