fix: koishi network

This commit is contained in:
Kat Inskip 2022-09-18 11:07:05 -07:00
parent 6d1033271e
commit 0eb5e3bdd7
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
3 changed files with 44 additions and 44 deletions

View file

@ -159,7 +159,7 @@
create_domain = true;
};
tailscale = mkMerge [
(mkIf (cfg.tf.enable) {
(mkIf tf.state.enable {
ipv4 = meta.tailnet.${config.networking.hostName}.ipv4 or null;
ipv6 = meta.tailnet.${config.networking.hostName}.ipv6 or null;
})

View file

@ -14,7 +14,7 @@
type = "resource";
connection = {
port = head config.services.openssh.ports;
host = config.network.addresses.private.nixos.ipv4.address;
host = config.networks.gensokyo.ipv4;
};
};
};