feat(tf): prox

This commit is contained in:
arcnmx 2024-01-27 20:16:54 -08:00
parent 69a47e6734
commit 196dc999db
16 changed files with 288 additions and 9 deletions

View file

@ -31,7 +31,7 @@
};
type = mkOption {
description = "Operating system type of the host";
type = str;
type = nullOr str;
default = "NixOS";
};
folder = mkOption {
@ -141,7 +141,7 @@
(set.map (_: c: c) tree.systems);
processHost = name: cfg: let
host = cfg.config;
in {
in set.optional (host.type != null) {
deploy.nodes.${name} = host.deploy;
"${host.folder}Configurations".${name} = host.builder {