entities/entities.nix

19 lines
478 B
Nix
Raw Permalink Normal View History

2024-06-02 15:57:56 -07:00
{ helper-lib, lib, ... }:
2021-11-22 06:40:37 -08:00
2024-06-02 15:57:56 -07:00
with lib;
let
inherit (helper-lib.fs) import-by-basename;
withDefaults = defaults: mapAttrs (_: opts: defaults // opts);
2021-11-22 06:40:37 -08:00
in {
domains = import-by-basename ./domains;
2024-06-02 15:57:56 -07:00
hosts = withDefaults {
nixos-system = true;
2024-06-02 16:05:42 -07:00
fudo-system = false;
2024-06-02 15:57:56 -07:00
profile = "server";
hardened = false;
} (import-by-basename ./hosts);
2023-03-03 12:08:23 -08:00
nexus.domains = import-by-basename ./nexus;
2021-11-22 06:40:37 -08:00
sites = import-by-basename ./sites;
zones = import-by-basename ./zones;
}