summaryrefslogtreecommitdiff
path: root/hosts/T495/wg.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/T495/wg.nix')
-rw-r--r--hosts/T495/wg.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/hosts/T495/wg.nix b/hosts/T495/wg.nix
index 3881b63..7b98ad8 100644
--- a/hosts/T495/wg.nix
+++ b/hosts/T495/wg.nix
@@ -1,7 +1,9 @@
{ config, pkgs, inputs, ... }: {
- sops.secrets.wg0.sopsFile = ./resources/secrets/wg0.yaml;
+ sops.secrets.wg0 = { sopsFile = ./resources/secrets/wg.yaml; key = "wg0"; }; # Office
+ sops.secrets.wg1 = { sopsFile = ./resources/secrets/wg.yaml; key = "wg1"; }; # Home
networking.wg-quick.interfaces = {
wg0.configFile = config.sops.secrets.wg0.path;
+ wg1.configFile = config.sops.secrets.wg1.path;
};
}