feat: move hardware configuration to host dir && enable nvidia power management

This commit is contained in:
2026-07-05 15:37:36 +03:00
parent 2d217ed6ba
commit 5487b1705b
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -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;
};
}