diff --git a/nixos/hosts/frankfurt-linode-01/default.nix b/nixos/hosts/frankfurt-linode-01/default.nix index 6a39457f..a423fe38 100644 --- a/nixos/hosts/frankfurt-linode-01/default.nix +++ b/nixos/hosts/frankfurt-linode-01/default.nix @@ -1,4 +1,4 @@ -{ lib, modulesPath, ... }: { +{ lib, modulesPath, hostname, ... }: { imports = [ (modulesPath + "/profiles/qemu-guest.nix") ../../common/services/tailscale-autoconnect.nix @@ -36,7 +36,7 @@ networking.useDHCP = lib.mkDefault true; time.timeZone = "Europe/Rome"; - networking.hostName = "milan-linode-01"; + networking.hostName = hostname; services.tailscale.extraUpFlags = [ "--advertise-exit-node" ]; boot.kernel.sysctl = { "net.ipv4.ip_forward" = true; }; diff --git a/secrets/hosts/frankfurt-linode-01.yaml b/secrets/hosts/frankfurt-linode-01.yaml new file mode 100644 index 00000000..e69de29b