From c59cebdc32cc2227a40c1c1ac1588141830f2880 Mon Sep 17 00:00:00 2001 From: Michael Thomas Date: Mon, 15 Apr 2024 20:10:08 -0400 Subject: [PATCH] fix(thinkcentre): corect syntax --- machines/thinkcentre/configuration.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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"]; + } ]; }; };