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

@ -113,6 +113,7 @@ in
# "hwmon-path"= "/sys/class/hwmon/hwmon2/temp1_input";
"critical-threshold" = 90;
"format" = "{temperatureC}°C {icon}";
"format-critical" = "!{temperatureC}C {icon}";
"format-icons" = [ "" ];
} // (if hostName == "sif" then {
"hwmon-path" = "/sys/class/hwmon/hwmon7/temp1_input";

View file

@ -27,10 +27,5 @@
];
extraConfig = "";
};
# prezto = {
# enable = true;
# };
};
}

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"
];