From 9675b81889f3e5b9a6b839eb91a4d0dafa528b43 Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Wed, 30 Oct 2024 22:56:33 -0500 Subject: add wireguard config for T495 --- modules/hosts/T495/wg.nix | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 modules/hosts/T495/wg.nix (limited to 'modules/hosts/T495/wg.nix') 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; + }; +} -- cgit v1.2.3