diff options
| author | Grisha Shipunov | 2025-08-15 21:50:18 +0200 |
|---|---|---|
| committer | Grisha Shipunov | 2025-08-15 21:50:18 +0200 |
| commit | 2e6e12741e0f1f3dc1d3a90ac9e691e3900e3b88 (patch) | |
| tree | c3b638a45eda610d94e8716630049a1a5a9b8ef7 /modules/wg | |
| parent | a17f4c1910550ee2fdb799f4a178ce9d29d02208 (diff) | |
reformat
Diffstat (limited to 'modules/wg')
| -rw-r--r-- | modules/wg/module.nix | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/modules/wg/module.nix b/modules/wg/module.nix index 1bb6f41..53ed2bb 100644 --- a/modules/wg/module.nix +++ b/modules/wg/module.nix @@ -18,20 +18,19 @@ name = "30-wg-${net.networkName}"; value = { matchConfig.Name = "wg-${net.networkName}"; - networkConfig = - { - Address = net.hosts.${currenthost}.address; - IPv6AcceptRA = false; # for now static IPv6 - } - // ( - if net.hosts.${currenthost}.endpoint.enable then - { - IPv4Forwarding = true; - IPv6Forwarding = true; - } - else - { } - ); + networkConfig = { + Address = net.hosts.${currenthost}.address; + IPv6AcceptRA = false; # for now static IPv6 + } + // ( + if net.hosts.${currenthost}.endpoint.enable then + { + IPv4Forwarding = true; + IPv6Forwarding = true; + } + else + { } + ); }; }) networks; |
