From 2e6e12741e0f1f3dc1d3a90ac9e691e3900e3b88 Mon Sep 17 00:00:00 2001 From: Grisha Shipunov Date: Fri, 15 Aug 2025 21:50:18 +0200 Subject: reformat --- hosts/toaster/network/mullvad.nix | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'hosts/toaster/network') diff --git a/hosts/toaster/network/mullvad.nix b/hosts/toaster/network/mullvad.nix index 54fec8d..85cca77 100644 --- a/hosts/toaster/network/mullvad.nix +++ b/hosts/toaster/network/mullvad.nix @@ -54,23 +54,23 @@ "::" ]; - routingPolicyRules = - [ - { - Family = "both"; - FirewallMark = 34952; # 0x8888 - InvertRule = true; - Table = "1000"; - Priority = 100; - } - { - Family = "both"; - SuppressPrefixLength = 0; - Table = "main"; - Priority = 90; - } - ] - ++ map + routingPolicyRules = [ + { + Family = "both"; + FirewallMark = 34952; # 0x8888 + InvertRule = true; + Table = "1000"; + Priority = 100; + } + { + Family = "both"; + SuppressPrefixLength = 0; + Table = "main"; + Priority = 90; + } + ] + ++ + map (net: { # only route global addresses over VPN Priority = 80; -- cgit v1.3.1