mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
nix: move all home configurations to homeModules
export them
This commit is contained in:
parent
2c5e75f3e7
commit
ce26e04e9c
14 changed files with 8 additions and 3 deletions
|
|
@ -73,7 +73,7 @@ let
|
|||
users.leana.imports = [
|
||||
nixpkgsRegistry
|
||||
self.homeModules.commonModules
|
||||
(maybePathOrDefault ./home/${hostname} { })
|
||||
(self.homeModules.${"named-" + hostname} or { })
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
@ -115,7 +115,7 @@ let
|
|||
users.leana.imports = [
|
||||
nixpkgsRegistry
|
||||
self.homeModules.commonModules
|
||||
(maybePathOrDefault ./home/${hostname} { })
|
||||
(self.homeModules.${"named-" + hostname} or { })
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
@ -137,7 +137,7 @@ let
|
|||
|
||||
self.homeModules.commonModules
|
||||
self.homeModules.auto-gc # Enable user gc only when home-manager is used standalone
|
||||
(maybePathOrDefault ./home/${hostname} { })
|
||||
(self.homeModules.${"named-" + hostname} or { })
|
||||
];
|
||||
in
|
||||
many (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue