diff options
author | Azat Bahawi <azat@bahawi.net> | 2022-10-08 01:04:01 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2022-10-08 01:04:01 +0300 |
commit | a0a3dcde99c4a8aa19b23ead79c08eedca30d002 (patch) | |
tree | 06387d2676fa1656df7db976f3601d00b08bd1a8 /modules/nixfiles/wireguard.nix | |
parent | 2022-09-22 (diff) |
2022-10-08
Diffstat (limited to '')
-rw-r--r-- | modules/nixfiles/wireguard.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/nixfiles/wireguard.nix b/modules/nixfiles/wireguard.nix index f98b4e3..d05c6ae 100644 --- a/modules/nixfiles/wireguard.nix +++ b/modules/nixfiles/wireguard.nix @@ -177,6 +177,8 @@ in { enable = true; enableIPv6 = true; + externalInterface = mkDefault "eth0"; + internalInterfaces = [cfg.interface]; internalIPs = [cfg.ipv4.subnet]; internalIPv6s = [cfg.ipv6.subnet]; |