feat: move hardware configuration to host dir && enable nvidia power management
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||||
nix-darwin.url = "github:nix-darwin/nix-darwin/master";
|
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";
|
spicetify-nix.url = "github:Gerg-L/spicetify-nix";
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -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