From 9acf4abcf3cdfd9363c4eb1c00afa86567f0f891 Mon Sep 17 00:00:00 2001 From: albert Date: Sun, 23 Jun 2024 19:17:22 +0900 Subject: [PATCH] Frankfurt --- nixos/hosts/frankfurt-linode-01/default.nix | 4 ++-- secrets/hosts/frankfurt-linode-01.yaml | 0 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 secrets/hosts/frankfurt-linode-01.yaml 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