diff --git a/dom0.sh b/dom0.sh index 505416f..93f7d87 100644 --- a/dom0.sh +++ b/dom0.sh @@ -26,4 +26,8 @@ echo "@anyvm @anyvm ask,default_target=vault" | sudo tee /etc/qubes-rpc/policy/ #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 \ No newline at end of file +echo "@anyvm dom0 ask,default_target=dom0" | sudo tee /etc/qubes-rpc/policy/qubes.VMAuth + +#Enabling discard and fstrim +sudo sed -i 's/issue_discards = 0/issue_discards = 1/g' /etc/lvm/lvm.conf +sudo systemctl enable fstrim.timer