mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
Deprecate meta.nix entirely :)
This commit is contained in:
parent
567dabb901
commit
7326e0bb22
14 changed files with 72 additions and 128 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue