diff options
Diffstat (limited to 'hosts/thinkpad/wireguard.nix')
| -rw-r--r-- | hosts/thinkpad/wireguard.nix | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/hosts/thinkpad/wireguard.nix b/hosts/thinkpad/wireguard.nix deleted file mode 100644 index 72eb113..0000000 --- a/hosts/thinkpad/wireguard.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ - config, - pkgs, - ... -}: { - environment.systemPackages = with pkgs; [ - wireguard-tools - ]; - - networking.wg-quick.interfaces = { - freyanet = { - address = ["10.3.0.5/32"]; - dns = ["10.2.0.1"]; - privateKeyFile = config.sops.secrets.freyanetWg.path; - autostart = false; - - peers = [ - { - publicKey = "x0ykwakpYCvI/pG+nR83lNUyeOE9m54thnX3bvZ+FUk="; - allowedIPs = ["10.0.0.0/8"]; - endpoint = "freya.cat:3000"; - persistentKeepalive = 25; - } - ]; - }; - }; -} |