1
0
mirror of https://github.com/tommytran732/QubesOS-Scripts synced 2024-11-13 22:01:34 -05:00
QubesOS-Scripts/dom0.sh

26 lines
1.1 KiB
Bash
Raw Normal View History

2022-02-06 02:59:49 -05:00
#!/bin/bash
2022-05-26 15:04:02 -04:00
sudo mkdir -p /etc/gtk-3.0
2022-05-26 17:41:00 -04:00
echo "[Settings]
2022-05-26 15:04:02 -04:00
gtk-theme-name=Arc-Dark
2022-05-26 17:41:00 -04:00
gtk-application-prefer-dark-theme=1" | sudo tee /etc/gtk-3.0/settings.ini
2022-05-26 15:04:02 -04:00
sudo mkdir -p /etc/gtk-4.0
2022-05-26 17:41:00 -04:00
echo "[Settings]
2022-02-06 02:59:49 -05:00
gtk-theme-name=Arc-Dark
2022-05-26 17:41:00 -04:00
gtk-application-prefer-dark-theme=1" | sudo tee /etc/gtk-3.0/settings.ini
2022-02-06 15:30:24 -05:00
2022-02-08 02:14:11 -05:00
sudo qubes-dom0-update qubes-u2f-dom0 qubes-yubikey-dom0 qt5ct qt5-qtstyleplugins
2022-02-06 15:37:32 -05:00
qvm-service --enable personal qubes-u2f-proxy
2022-02-06 15:30:24 -05:00
qvm-service --enable work qubes-u2f-proxy
2022-02-08 02:14:11 -05:00
2022-05-26 00:58:21 -04:00
echo "export QT_QPA_PLATFORMTHEME=gtk2" | sudo tee /etc/environment
2022-05-24 07:10:30 -04:00
2022-05-24 08:24:34 -04:00
#Obviously replace vault-gpg with the actual GPG backend that you are using https://www.qubes-os.org/doc/split-gpg/
2022-05-28 07:24:27 -04:00
echo "emails vault allow" | sudo tee /etc/qubes-rpc/policy/qubes.Gpg
2022-05-26 22:31:56 -04:00
echo "@anyvm @anyvm ask,default_target=vault-gpg" | sudo tee -a /etc/qubes-rpc/policy/qubes.Gpg
#Enabling VMAuth - if you want to get the prompt you will still need to configure the guest VMs tho
echo "/usr/bin/echo 1" | sudo tee /etc/qubes-rpc/qubes.VMAuth
sudo chmod u+x /etc/qubes-rpc/qubes.VMAuth
echo "@anyvm dom0 ask,default_target=dom0" | sudo tee /etc/qubes-rpc/policy/qubes.VMAuth