nix: move all nixos configuration to nixosModules

export them
This commit is contained in:
Primrose 2024-10-30 19:27:45 +01:00
parent ce26e04e9c
commit 30bbb00f6b
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
17 changed files with 8 additions and 1 deletions

View file

@ -58,7 +58,7 @@ let
self.nixosModules.leana
self.nixosModules.layouts
self.nixosModules.fish-vendor-completions
(maybePathOrDefault ./host/${hostname} { })
(self.nixosModules.${"named-" + hostname} or { })
inputs.home-manager.nixosModules.home-manager
{