diff --git a/machines/thinkcentre/configuration.nix b/machines/thinkcentre/configuration.nix index 9553288..58887a7 100644 --- a/machines/thinkcentre/configuration.nix +++ b/machines/thinkcentre/configuration.nix @@ -12,10 +12,10 @@ networking.nameservers = ["1.1.1.1" "8.8.8.8"]; # Wireguard tunnel to oracle - age.secrets.wireguardThinkcentre.file = "../../secrets/wireguard-thinkcentre.age"; + age.secrets.wireguardThinkcentre.file = ../../secrets/wireguard-thinkcentre.age; networking.wg-quick.interfaces = { wg0 = { - address = [ "10.0.10.2/32" ]; + address = ["10.0.10.2/32"]; listenPort = 51820; privateKeyFile = config.age.secrets.wireguardThinkcentre.path; @@ -23,8 +23,8 @@ { publicKey = "sdqT2l1HRe9rDYejJ+luQK8zdC+/KqDuQ1rpvZq/KlQ="; endpoint = "150.136.162.107:51820"; - allowedIPs = "10.0.10.1/24"; - }; + allowedIPs = ["10.0.10.1/24"]; + } ]; }; };