mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-10 04:49: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.";
|
||||
create_domain = true;
|
||||
};
|
||||
tailscale = {
|
||||
interfaces = singleton "tailscale0";
|
||||
tailscale = mkMerge [
|
||||
(mkIf (cfg.tf.enable) {
|
||||
ipv4 = meta.tailnet.${config.networking.hostName}.ipv4 or null;
|
||||
ipv6 = meta.tailnet.${config.networking.hostName}.ipv6 or null;
|
||||
})
|
||||
{
|
||||
interfaces = singleton "tailscale0";
|
||||
zone = "inskip.me.";
|
||||
create_domain = true;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue