mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
Deploy target autodefinition overhaul
This commit is contained in:
parent
6b9b0ba3cf
commit
7ad716b827
3 changed files with 18 additions and 7 deletions
10
default.nix
10
default.nix
|
|
@ -38,12 +38,12 @@ let
|
|||
|
||||
# This is where the meta config is evaluated.
|
||||
eval = lib.evalModules {
|
||||
modules = [
|
||||
metaConfig
|
||||
./config/modules/meta/default.nix
|
||||
] ++ (lib.attrValues hosts)
|
||||
modules = lib.singleton metaConfig
|
||||
++ (lib.attrValues (removeAttrs argGen.targets ["common"]))
|
||||
++ (lib.optional (builtins.pathExists ./config/trusted/meta.nix) ./config/trusted/meta.nix);
|
||||
++ (lib.attrValues hosts)
|
||||
++ (lib.optional (builtins.pathExists ./config/trusted/meta.nix) ./config/trusted/meta.nix)
|
||||
++ lib.singleton ./config/modules/meta/default.nix;
|
||||
|
||||
specialArgs = {
|
||||
inherit sources;
|
||||
inherit (argGen) profiles users services;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue