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 | |
| parent | a17f4c1910550ee2fdb799f4a178ce9d29d02208 (diff) | |
reformat
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/emacs.nix | 2 | ||||
| -rw-r--r-- | modules/wg/module.nix | 27 |
2 files changed, 14 insertions, 15 deletions
diff --git a/modules/emacs.nix b/modules/emacs.nix index 39c2db8..13ce0ee 100644 --- a/modules/emacs.nix +++ b/modules/emacs.nix @@ -55,6 +55,6 @@ ] ) ); - defaultEditor = lib.mkForce true; + defaultEditor = lib.mkForce false; }; } 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; |
