aboutsummaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2020-11-17 03:23:55 +0200
committerJonathan Ringer <jonringer@users.noreply.github.com>2020-11-24 06:12:32 -0800
commit4db239272c36f394416253d6223c70f5391666f2 (patch)
treecbfee0229ce8bb98328bbf34352af533e08005ff /nixos
parent04150a003ea363f8e365bab1d1b3cae721e3fe2f (diff)
mullvad-vpn: add iproute2
Diffstat (limited to 'nixos')
-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" ];