my-guix/scripts/mullvad.sh

7 lines
173 B
Bash

#!/bin/sh
# Run mullvad-vpn as a normal user
nix-shell -p mullvad-vpn --run mullvad-vpn &
# Run mullvad-daemon as root
sudo nix-shell -p mullvad-vpn --run mullvad-daemon &