mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
Host and targets are now automatically imported
This commit is contained in:
parent
9d169b92ba
commit
6b9b0ba3cf
1 changed files with 3 additions and 8 deletions
11
default.nix
11
default.nix
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue