Deprecate meta.nix entirely :)

This commit is contained in:
kat witch 2021-08-27 03:54:27 +01:00
parent 567dabb901
commit 7326e0bb22
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
14 changed files with 72 additions and 128 deletions

View file

@ -50,6 +50,8 @@ let
_module.args = {
pkgs = lib.mkDefault pkgs;
};
deploy.targets.dummy.enable = false;
};
};
@ -57,7 +59,11 @@ let
eval = lib.evalModules {
modules = lib.singleton metaConfig
++ lib.attrValues (removeAttrs xarg.targets [ "common" ])
++ lib.attrValues xarg.hosts
++ (map (host: {
network.nodes.${host} = {
imports = config.lib.kw.nodeImport host;
};
}) (lib.attrNames xarg.hosts))
++ lib.singleton ./config/modules/meta/default.nix;
specialArgs = {