mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
nix: move all nixos configuration to nixosModules
export them
This commit is contained in:
parent
ce26e04e9c
commit
30bbb00f6b
17 changed files with 8 additions and 1 deletions
|
|
@ -9,6 +9,12 @@ let
|
|||
|
||||
# extra opt-in configurations
|
||||
extra = modulesFromDir ./extra;
|
||||
|
||||
# per host configuration
|
||||
named = lib.mapAttrs' (name: value: {
|
||||
name = "named-" + name;
|
||||
inherit value;
|
||||
}) (modulesFromDir ./named);
|
||||
in
|
||||
|
||||
{
|
||||
|
|
@ -21,5 +27,6 @@ in
|
|||
shared
|
||||
common
|
||||
extra
|
||||
named
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue