sombrero: Move home-manager input to home module imports

This commit is contained in:
Alexander Heldt
2023-11-29 15:20:46 +01:00
parent 281858ee38
commit 574f62b3b5
2 changed files with 16 additions and 10 deletions

View File

@@ -54,7 +54,6 @@
specialArgs = { inherit inputs; }; specialArgs = { inherit inputs; };
modules = [ modules = [
./hosts/sombrero/configuration.nix ./hosts/sombrero/configuration.nix
inputs.home-manager.nixosModules.home-manager
./hosts/sombrero/home.nix ./hosts/sombrero/home.nix
]; ];
}; };

View File

@@ -1,4 +1,9 @@
{ inputs, ... }:
{ {
imports = [ inputs.home-manager.nixosModules.home-manager ];
config = {
home-manager = { home-manager = {
useGlobalPkgs = true; useGlobalPkgs = true;
useUserPackages = true; useUserPackages = true;
@@ -14,4 +19,6 @@
home.stateVersion = "22.11"; home.stateVersion = "22.11";
}; };
}; };
};
} }