From 123b55cdf1d3adbe039ff13216af33ca878e61fd Mon Sep 17 00:00:00 2001 From: Andreas Schaafsma Date: Thu, 2 Apr 2026 04:19:47 +0200 Subject: [PATCH] mullvad and firewall --- systems/x86_64-linux/drivebystation-nix/configuration.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/systems/x86_64-linux/drivebystation-nix/configuration.nix b/systems/x86_64-linux/drivebystation-nix/configuration.nix index 4d79a33..84d9787 100644 --- a/systems/x86_64-linux/drivebystation-nix/configuration.nix +++ b/systems/x86_64-linux/drivebystation-nix/configuration.nix @@ -196,13 +196,14 @@ # Enable the OpenSSH daemon. services.openssh.enable = true; - # Open ports in the firewall. + # Open ports in the . networking.firewall.allowedTCPPorts = [ 24800 #Synergy 53317 #localsend 3390 #rdp 9090 8000 + 40122 ]; networking.firewall.allowedUDPPorts = [ 24800 #Synergy @@ -210,6 +211,7 @@ 3390 #rdp 9090 8000 + 40122 ]; networking.firewall.trustedInterfaces = [ "virbr0" ]; networking.nat = { @@ -233,7 +235,8 @@ } ]; }; - + services.mullvad-vpn.enable = true; + services.mullvad-vpn.package = pkgs.mullvad-vpn; # Or disable the firewall altogether. # networking.firewall.enable = false;