aboutsummaryrefslogtreecommitdiff
path: root/nixos/modules/services/networking/mullvad-vpn.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/networking/mullvad-vpn.nix')
-rw-r--r--nixos/modules/services/networking/mullvad-vpn.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/mullvad-vpn.nix b/nixos/modules/services/networking/mullvad-vpn.nix
index d9e6e57c92cc..6f595ca4be2b 100644
--- a/nixos/modules/services/networking/mullvad-vpn.nix
+++ b/nixos/modules/services/networking/mullvad-vpn.nix
@@ -15,6 +15,9 @@ with lib;
config = mkIf cfg.enable {
boot.kernelModules = [ "tun" ];
+ # mullvad-daemon writes to /etc/iproute2/rt_tables
+ networking.iproute2.enable = true;
+
systemd.services.mullvad-daemon = {
description = "Mullvad VPN daemon";
wantedBy = [ "multi-user.target" ];