tommytran732-QubesOS-Scripts/fedora/mullvad.sh
Tommy e768f0baae
Update mullvad.sh
Signed-off-by: Tommy <contact@tommytran.io>
2022-08-24 05:13:30 -04:00

20 lines
622 B
Bash

#!/bin/bash
#Needs to be installed in a standalone VM for now.
sudo dnf install -y https://mullvad.net/media/app/MullvadVPN-2022.4_x86_64.rpm
echo "[org/gnome/desktop/interface]
gtk-theme='Arc-Dark'" | sudo tee /etc/dconf/db/local.d/custom
sudo dconf update
sudo rm -rf /usr/share/icons/Arc
echo "/usr/lib/qubes/qubes-setup-dnat-to-ns" | sudo tee -a /rw/config/rc.local
#I am still missing something here to make it work in a TemplateVM->AppVM setup... not sure what right now.
#sudo mkdir -p /etc/qubes-bind-dirs.d
#sudo tee /etc/qubes-bind-dirs.d50_user.conf << EOF > /dev/null
#binds+=( '/etc/mullvad-vpn' )
#EOF