mirror of
https://github.com/tommytran732/QubesOS-Scripts.git
synced 2024-10-01 00:55:37 -04:00
c8b324c93b
Signed-off-by: Tommy <contact@tommytran.io>
25 lines
666 B
Bash
25 lines
666 B
Bash
#!/bin/bash
|
|
|
|
sudo dnf install -y https://mullvad.net/media/app/MullvadVPN-2022.5_x86_64.rpm
|
|
sudo systemctl enable mullvad-daemon
|
|
|
|
echo "[org/gnome/desktop/interface]
|
|
gtk-theme='Arc-Dark'
|
|
|
|
[org/gnome/desktop/media-handling]
|
|
automount=false
|
|
automount-open=false" | sudo tee /etc/dconf/db/local.d/custom
|
|
|
|
sudo dconf update
|
|
|
|
sudo rm -rf /usr/share/icons/Arc
|
|
|
|
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
|
|
|
|
# Run these in the AppVM:
|
|
# echo "sleep 10 # Waiting a bit so that Mullvad can establish connection
|
|
# /usr/lib/qubes/qubes-setup-dnat-to-ns" | sudo tee -a /rw/config/rc.local
|