Remove zerotier host aliases

This commit is contained in:
Filippo Berto 2025-05-18 14:00:31 +02:00
parent 587cd2e583
commit c4768eb2fd
Signed by: bertof
GPG key ID: 9DBF7E6A1D2CE9ED
10 changed files with 33 additions and 50 deletions

View file

@ -1,17 +1,16 @@
{ lib, ... }:
let
hosts = import ../../../hosts.nix;
zerotier_hosts = lib.attrsets.mapAttrs'
(
k: v: lib.attrsets.nameValuePair v [ k ]
)
hosts.zerotier.ipv4;
in
# let
# hosts = import ../../../hosts.nix;
# zerotier_hosts = lib.attrsets.mapAttrs'
# (
# k: v: lib.attrsets.nameValuePair v [ k ]
# )
# hosts.zerotier.ipv4;
# in
{
services.zerotierone = {
enable = true;
joinNetworks = [ "8056c2e21cf9c753" ];
};
networking.hosts = zerotier_hosts;
# networking.hosts = zerotier_hosts;
}

View file

@ -62,8 +62,6 @@ in
"OC\\Preview\\EMF"
];
trusted_proxies = [
# hosts.zerotier.ipv4."baldur.zto"
# hosts.zerotier.ipv6."baldur.zto"
hosts.tailscale.ipv4."baldur.tsn"
hosts.tailscale.ipv6."baldur.tsn"
];