nix: make each perhost home module import from common

This commit is contained in:
Primrose 2024-10-30 20:28:37 +01:00
parent ceff366d15
commit a161b3da59
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
2 changed files with 11 additions and 6 deletions

View file

@ -70,7 +70,6 @@ let
sharedModules = [ { home.stateVersion = "24.05"; } ];
users.leana.imports = [
nixpkgsRegistry
self.homeModules.commonModules
(self.homeModules.${"named-" + hostname} or { })
];
};
@ -112,7 +111,6 @@ let
sharedModules = [ { home.stateVersion = "24.05"; } ];
users.leana.imports = [
nixpkgsRegistry
self.homeModules.commonModules
(self.homeModules.${"named-" + hostname} or { })
];
};
@ -133,7 +131,6 @@ let
nixpkgsRegistry
nixpkgsConfig
self.homeModules.commonModules
self.homeModules.auto-gc # Enable user gc only when home-manager is used standalone
(self.homeModules.${"named-" + hostname} or { })
];