summaryrefslogtreecommitdiff
path: root/hosts/toaster/network
diff options
context:
space:
mode:
authorGrisha Shipunov2025-08-15 21:50:18 +0200
committerGrisha Shipunov2025-08-15 21:50:18 +0200
commit2e6e12741e0f1f3dc1d3a90ac9e691e3900e3b88 (patch)
treec3b638a45eda610d94e8716630049a1a5a9b8ef7 /hosts/toaster/network
parenta17f4c1910550ee2fdb799f4a178ce9d29d02208 (diff)
reformat
Diffstat (limited to 'hosts/toaster/network')
-rw-r--r--hosts/toaster/network/mullvad.nix34
1 files changed, 17 insertions, 17 deletions
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;