From 0efec20904250200c88586d3c0d255b3a11af964 Mon Sep 17 00:00:00 2001 From: Colin Date: Mon, 15 Jan 2024 03:52:31 +0000 Subject: [PATCH] hosts/common/net/vpn: remove unused "extraOptions" argument --- hosts/common/net/vpn.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/common/net/vpn.nix b/hosts/common/net/vpn.nix index 3951cdca..22bb074f 100644 --- a/hosts/common/net/vpn.nix +++ b/hosts/common/net/vpn.nix @@ -8,7 +8,7 @@ # - copy the Address, PublicKey, Endpoint from OVPN's config # N.B.: maximum interface name in Linux is 15 characters. let - def-wg-vpn = name: { endpoint, publicKey, address, dns, privateKeyFile, extraOptions ? {} }: { + def-wg-vpn = name: { endpoint, publicKey, address, dns, privateKeyFile }: { networking.wg-quick.interfaces."${name}" = { inherit address privateKeyFile dns; peers = [ @@ -22,7 +22,7 @@ let ]; # to start: `systemctl start wg-quick-${name}` autostart = false; - } // extraOptions; + }; }; def-ovpn = name: { endpoint, publicKey, address }: def-wg-vpn "ovpnd-${name}" { inherit endpoint publicKey address;