mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
feat(tf): prox
This commit is contained in:
parent
69a47e6734
commit
196dc999db
16 changed files with 288 additions and 9 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue