mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
targets modList
This commit is contained in:
parent
a32630fd2d
commit
e5a0fe456c
2 changed files with 5 additions and 9 deletions
|
|
@ -1,8 +0,0 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./personal
|
||||
./infra
|
||||
];
|
||||
}
|
||||
|
|
@ -8,6 +8,9 @@ let
|
|||
profiles = lib.modList {
|
||||
modulesDir = ./config/profiles;
|
||||
};
|
||||
targets = lib.removeAttrs (lib.modList {
|
||||
modulesDir = ./config/targets;
|
||||
}) ["common"];
|
||||
users = lib.modList {
|
||||
modulesDir = ./config/users;
|
||||
};
|
||||
|
|
@ -26,7 +29,8 @@ let
|
|||
eval = lib.evalModules {
|
||||
modules = [
|
||||
metaConfig
|
||||
./config/targets
|
||||
targets.personal
|
||||
targets.infra
|
||||
./config/modules/meta/default.nix
|
||||
] ++ map (hostName: ./config/hosts + "/${hostName}/meta.nix") hostNames;
|
||||
specialArgs = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue