How I install Mullvad on Silverblue based distros and add repos
One of the things I struggled with initailly when using immutables was installing programs like VPNS that need to interact with the immutable parts of the distro but don't have a flatpak option. I figured I'd just make a post to help anyone with this specific issue regarding mullvad or if it helps people install other software they need.
Doesnt work. Networkmanager has no native concept of a "airtight VPN mode".
The mullvad daemon does stuff like
control DNS
block internet when not connected
prevent early boot connections
Those require it to be privileged. For sure it would be nice to have all these features integrated into networkmanager, and vpn apps just placing their wireguard configs and DNS settings in there.
But for now the Mullvad App is way better than what we have. You can also keep a very insecure DNS conf (no DNSSEC, no DOT, no custom servers) as a fallback for public wifi bs, and when the Mullvad app is running the system uses a secure DNS.