From 671ba3d42f6c9017fc57876f3c26d22227b1ffef Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Mon, 22 Jun 2026 15:11:39 -0500 Subject: add wireguard support for remote backup pc and enhance rebuild script to show pubkey gen cmd --- hosts/sweetiepc/wg.nix | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 hosts/sweetiepc/wg.nix (limited to 'hosts/sweetiepc/wg.nix') diff --git a/hosts/sweetiepc/wg.nix b/hosts/sweetiepc/wg.nix new file mode 100644 index 0000000..bf459d9 --- /dev/null +++ b/hosts/sweetiepc/wg.nix @@ -0,0 +1,7 @@ +{ config, pkgs, inputs, ... }: { + sops.secrets.wg0 = { sopsFile = ./resources/secrets/wg.yaml; key = "wg0"; }; + + networking.wg-quick.interfaces = { + wg0.configFile = config.sops.secrets.wg0.path; + }; +} -- cgit v1.2.3