Mullvad module installed but missing files or components

I’m trying to install Mullvad using services.mullvad-vpn.enable = true. It’s available on the commandline, but seems to be missing files or components. See errors below. Anyone know how to set this up correctly?

$> mullvad
mullvad 2021.3
Mullvad VPN
Manage the Mullvad VPN daemon via a convenient CLI

USAGE:
    mullvad <SUBCOMMAND>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

SUBCOMMANDS:
    account               Control and display information about your Mullvad account
    always-require-vpn    Control if the system service should block network access when disconnected from VPN
    auto-connect          Control the daemon auto-connect setting
    ...
    status                View the state of the VPN tunnel
    tunnel                Manage tunnel specific options
    version               Shows current version, and the currently supported versions

$> mullvad status
Error: Management interface error
Caused by: Management RPC server or client error
Caused by: transport error: error trying to connect: No such file or directory (os error 2)
Caused by: error trying to connect: No such file or directory (os error 2)
Caused by: No such file or directory (os error 2)

$> mullvad auto-connect get
Error: Management interface error
Caused by: Management RPC server or client error
Caused by: transport error: error trying to connect: No such file or directory (os error 2)
Caused by: error trying to connect: No such file or directory (os error 2)
Caused by: No such file or directory (os error 2)

$> mullvad auto-connect set on    
Error: Management interface error
Caused by: Management RPC server or client error
Caused by: transport error: error trying to connect: No such file or directory (os error 2)
Caused by: error trying to connect: No such file or directory (os error 2)
Caused by: No such file or directory (os error 2)

$> mullvad account get
Error: Management interface error
Caused by: Management RPC server or client error
Caused by: transport error: error trying to connect: No such file or directory (os error 2)
Caused by: error trying to connect: No such file or directory (os error 2)
Caused by: No such file or directory (os error 2)
1 Like

Update: this helped.

Now the two problems are that Mullvad seems to conflict with Tailscale. Running both causes me to lose internet connectivity (the Mullvad app can be open, just not connected to a VPN).

Also, Mullvad can see my installed software and lists it all in its Split Tunneling page, but can’t start any of it. “Unable to launch selection. Please try again or contact support.” Could this be NixOS/FHS-related?

1 Like