diff options
Diffstat (limited to 'modules/hosts/T495/wg.nix')
-rw-r--r-- | modules/hosts/T495/wg.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/hosts/T495/wg.nix b/modules/hosts/T495/wg.nix new file mode 100644 index 0000000..3881b63 --- /dev/null +++ b/modules/hosts/T495/wg.nix @@ -0,0 +1,7 @@ +{ config, pkgs, inputs, ... }: { + sops.secrets.wg0.sopsFile = ./resources/secrets/wg0.yaml; + + networking.wg-quick.interfaces = { + wg0.configFile = config.sops.secrets.wg0.path; + }; +} |