1
0
mirror of https://github.com/tommytran732/QubesOS-Scripts synced 2024-12-22 15:11:34 -05:00

Update dom0.sh

This commit is contained in:
Tommy 2022-05-24 07:48:03 -04:00 committed by GitHub
parent 2210a93404
commit 64a70ada52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,5 +13,5 @@ qvm-service --enable work qubes-u2f-proxy
echo "export export QT_QPA_PLATFORMTHEME=gtk2" | sudo tee /etc/environment
#I am using the sys-usb VM for GPG here because I am using a PGP smartcard. You probably shouldn't do this if you store your GPG private key on disk. It **might** be safer to still have a dedicated gpg-backend VM for this, but then you will have to reassign the smartcard to the VM after every boot, which could be annoying.
echo "emails sys-usb allow" > /etc/qubes-rpc/policy/qubes.Gpg
echo "@anyvm @anyvm ask,default_target=sys-usb" >> /etc/qubes-rpc/policy/qubes.Gpg
echo "emails sys-usb allow" | sudo tee /etc/qubes-rpc/policy/qubes.Gpg
echo "@anyvm @anyvm ask,default_target=sys-usb" | sudo tee -a /etc/qubes-rpc/policy/qubes.Gpg