From 4db239272c36f394416253d6223c70f5391666f2 Mon Sep 17 00:00:00 2001 From: Artturin Date: Tue, 17 Nov 2020 03:23:55 +0200 Subject: [PATCH] mullvad-vpn: add iproute2 --- nixos/modules/services/networking/mullvad-vpn.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/modules/services/networking/mullvad-vpn.nix b/nixos/modules/services/networking/mullvad-vpn.nix index d9e6e57c92c..6f595ca4be2 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" ];