19 lines
478 B
Nix
19 lines
478 B
Nix
{ helper-lib, lib, ... }:
|
|
|
|
with lib;
|
|
let
|
|
inherit (helper-lib.fs) import-by-basename;
|
|
withDefaults = defaults: mapAttrs (_: opts: defaults // opts);
|
|
in {
|
|
domains = import-by-basename ./domains;
|
|
hosts = withDefaults {
|
|
nixos-system = true;
|
|
fudo-system = false;
|
|
profile = "server";
|
|
hardened = false;
|
|
} (import-by-basename ./hosts);
|
|
nexus.domains = import-by-basename ./nexus;
|
|
sites = import-by-basename ./sites;
|
|
zones = import-by-basename ./zones;
|
|
}
|