2022-08-01 02:24:47 -04:00
|
|
|
#!/bin/bash
|
|
|
|
|
2022-10-20 22:19:40 -04:00
|
|
|
sudo dnf install -y https://mullvad.net/media/app/MullvadVPN-2022.5_x86_64.rpm
|
2022-09-03 06:04:46 -04:00
|
|
|
sudo systemctl enable mullvad-daemon
|
2022-08-01 02:24:47 -04:00
|
|
|
|
|
|
|
echo "[org/gnome/desktop/interface]
|
2022-09-01 02:55:17 -04:00
|
|
|
gtk-theme='Arc-Dark'
|
|
|
|
|
|
|
|
[org/gnome/desktop/media-handling]
|
|
|
|
automount=false
|
|
|
|
automount-open=false" | sudo tee /etc/dconf/db/local.d/custom
|
2022-08-01 02:24:47 -04:00
|
|
|
|
|
|
|
sudo dconf update
|
|
|
|
|
|
|
|
sudo rm -rf /usr/share/icons/Arc
|
2022-08-14 19:00:40 -04:00
|
|
|
|
2022-09-03 06:04:46 -04:00
|
|
|
sudo mkdir -p /etc/qubes-bind-dirs.d
|
|
|
|
sudo tee /etc/qubes-bind-dirs.d/50_user.conf << EOF > /dev/null
|
|
|
|
binds+=( '/etc/mullvad-vpn' )
|
|
|
|
EOF
|
2022-08-15 00:07:27 -04:00
|
|
|
|
2022-09-03 06:04:46 -04:00
|
|
|
#Run these in the AppVM:
|
|
|
|
#echo "sleep 10 # Waiting a bit that Mullvad succeeds to establish connection
|
|
|
|
#/usr/lib/qubes/qubes-setup-dnat-to-ns" | sudo tee -a /rw/config/rc.local
|