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