Host and targets are now automatically imported

This commit is contained in:
kat witch 2021-08-07 01:15:13 +01:00
parent 9d169b92ba
commit 6b9b0ba3cf
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72

View file

@ -40,15 +40,10 @@ let
eval = lib.evalModules { eval = lib.evalModules {
modules = [ modules = [
metaConfig metaConfig
argGen.targets.personal
argGen.targets.infra
hosts.dummy
hosts.athame
hosts.beltane
hosts.samhain
hosts.yule
./config/modules/meta/default.nix ./config/modules/meta/default.nix
] ++ (lib.optional (builtins.pathExists ./config/trusted/meta.nix) ./config/trusted/meta.nix); ] ++ (lib.attrValues hosts)
++ (lib.attrValues (removeAttrs argGen.targets ["common"]))
++ (lib.optional (builtins.pathExists ./config/trusted/meta.nix) ./config/trusted/meta.nix);
specialArgs = { specialArgs = {
inherit sources; inherit sources;
inherit (argGen) profiles users services; inherit (argGen) profiles users services;