git.iko.soy/typeable/nixpkgs
on master help sign in
mullvad-vpn: add iproute2
commit4db239272c36f394416253d6223c70f5391666f2 authorArtturin <Artturin@artturin.com> dateTue 17 Nov 2020, 03:23 (6 years ago) parent04150a0
1 file changed+3
nixos/modules/services/networking/mullvad-vpn.nix+3
nixos/modules/services/networking/mullvad-vpn.nix+3
@@ -15,6 +15,9 @@ with lib;
1515 config = mkIf cfg.enable {
1616 boot.kernelModules = [ "tun" ];
1717
18+ # mullvad-daemon writes to /etc/iproute2/rt_tables
19+ networking.iproute2.enable = true;
20+
1821 systemd.services.mullvad-daemon = {
1922 description = "Mullvad VPN daemon";
2023 wantedBy = [ "multi-user.target" ];