diff options
author | Artturin <Artturin@artturin.com> | 2020-11-17 03:23:55 +0200 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2020-11-24 06:12:32 -0800 |
commit | 4db239272c36f394416253d6223c70f5391666f2 (patch) | |
tree | cbfee0229ce8bb98328bbf34352af533e08005ff /nixos/modules | |
parent | 04150a003ea363f8e365bab1d1b3cae721e3fe2f (diff) |
mullvad-vpn: add iproute2
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/services/networking/mullvad-vpn.nix | 3 |
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 d9e6e57c92cc6..6f595ca4be2b2 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" ]; |