nix: move home-manager to module default for nixos

This commit is contained in:
Primrose 2024-10-30 21:36:42 +01:00
parent 7480bd8db3
commit 937a14a821
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
2 changed files with 16 additions and 17 deletions

View file

@ -27,21 +27,8 @@ let
nixpkgs.hostPlatform = system;
system.stateVersion = "24.05";
}
(self.nixosModules.${"named-" + hostname} or { })
{
home-manager = {
extraSpecialArgs = {
inherit hostname;
};
sharedModules = [ { home.stateVersion = "24.05"; } ];
users.leana.imports = [
nixpkgsConfig
(self.homeModules.${"named-" + hostname} or { })
];
};
}
nixpkgsConfig
self.nixosModules.${"named-" + hostname} or { }
];
in
many (