From 229db966d7bed645ce96b12f52c97552e45f1007 Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Mon, 5 Oct 2026 16:35:11 -0400 Subject: enable nas on T430 and rename wg tunnels + add new tun --- hosts/T430/wg.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'hosts/T430/wg.nix') diff --git a/hosts/T430/wg.nix b/hosts/T430/wg.nix index 00023b9..d6a5e47 100644 --- a/hosts/T430/wg.nix +++ b/hosts/T430/wg.nix @@ -1,11 +1,11 @@ { config, pkgs, inputs, ... }: { - sops.secrets.wg0 = { sopsFile = ./resources/secrets/wg.yaml; key = "wg0"; }; # Office - sops.secrets.wg1 = { sopsFile = ./resources/secrets/wg.yaml; key = "wg1"; }; # Home + sops.secrets.wg-office.sopsFile = ./resources/secrets/wg.yaml; + sops.secrets.wg-office-alt.sopsFile = ./resources/secrets/wg.yaml; + sops.secrets.wg-home.sopsFile = ./resources/secrets/wg.yaml; networking.wg-quick.interfaces = { - wg0.configFile = config.sops.secrets.wg0.path; - wg1.configFile = config.sops.secrets.wg1.path; - wg0.autostart = false; - wg1.autostart = false; + wg-office = { autostart = false; configFile = config.sops.secrets.wg-office.path; }; + wg-office-alt = { autostart = false; configFile = config.sops.secrets.wg-office-alt.path; }; + wg-home = { autostart = false; configFile = config.sops.secrets.wg-home.path; }; }; } -- cgit v1.3.1