diff options
Diffstat (limited to 'hosts/office-precision/wg.nix')
| -rw-r--r-- | hosts/office-precision/wg.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/hosts/office-precision/wg.nix b/hosts/office-precision/wg.nix new file mode 100644 index 0000000..97a5239 --- /dev/null +++ b/hosts/office-precision/wg.nix @@ -0,0 +1,8 @@ +{ config, pkgs, inputs, ... }: { + sops.secrets.wg1.sopsFile = ./resources/secrets/wg.yaml; + + networking.wg-quick.interfaces = { + wg1.configFile = config.sops.secrets.wg1.path; + wg1.autostart = false; + }; +} |
