mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
feat: validate terraform use
This commit is contained in:
parent
6caf15b9e4
commit
94b52a7720
1 changed files with 5 additions and 2 deletions
|
|
@ -158,10 +158,13 @@
|
||||||
zone = mkDefault "gensokyo.zone.";
|
zone = mkDefault "gensokyo.zone.";
|
||||||
create_domain = true;
|
create_domain = true;
|
||||||
};
|
};
|
||||||
tailscale = {
|
tailscale = mkMerge [
|
||||||
interfaces = singleton "tailscale0";
|
(mkIf (cfg.tf.enable) {
|
||||||
ipv4 = meta.tailnet.${config.networking.hostName}.ipv4 or null;
|
ipv4 = meta.tailnet.${config.networking.hostName}.ipv4 or null;
|
||||||
ipv6 = meta.tailnet.${config.networking.hostName}.ipv6 or null;
|
ipv6 = meta.tailnet.${config.networking.hostName}.ipv6 or null;
|
||||||
|
})
|
||||||
|
{
|
||||||
|
interfaces = singleton "tailscale0";
|
||||||
zone = "inskip.me.";
|
zone = "inskip.me.";
|
||||||
create_domain = true;
|
create_domain = true;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue