pinwheel: Move home-manager input to home module imports

This commit is contained in:
Alexander Heldt
2023-11-29 15:15:49 +01:00
parent 5bbc11df7c
commit 96abda64a0
2 changed files with 24 additions and 21 deletions

View File

@@ -45,7 +45,6 @@
modules = [
./hosts/pinwheel/configuration.nix
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-x1-10th-gen
inputs.home-manager.nixosModules.home-manager
./hosts/pinwheel/home.nix
];
};

View File

@@ -1,5 +1,8 @@
{ pkgs, ... }:
{ inputs, pkgs, ... }:
{
imports = [ inputs.home-manager.nixosModules.home-manager ];
config = {
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
@@ -25,4 +28,5 @@
home.stateVersion = "23.05";
};
};
};
}