Adding Mullvad to Bazzite
Documenting for future me. First we need to get an atomic install for Mullvad going. There is a healthy sprinkling of sudo
calls throughout. Some might not be needed, it is just what I did at the time.
The repository link should be checked against the latest download documentation from Mullvad. Scroll down to Fedora Stable and extract the value of --from-repofile
. This ‘repofile’ can be downloaded as such:
cd /etc/yum.repos.d
sudo wget https://repository.mullvad.net/rpm/stable/mullvad.repo
Now install the package, and reboot after.
rpm-ostree install mullvad-vpn
systemctl reboot
Starting Mullvad at this point will give an error about it not being able to connect to their services. This is because, for some reason, their Daemon was installed but never started:
systemctl status mullvad-daemon.service
○ mullvad-daemon.service - Mullvad VPN daemon
Loaded: loaded (/usr/lib/systemd/system/mullvad-daemon.service; disabled; preset: disabled)
Drop-In: /usr/lib/systemd/system/service.d
└─10-timeout-abort.conf
Active: inactive (dead)
Lets make sure it runs:
sudo systemctl enable mullvad-daemon.service
systemctl start mullvad-daemon.service
At this point Mullvad automatically opened their GUI for me, prompting for my account ID.