From 42b526ddb8b13eefc609797b35337e23fd5b0d55 Mon Sep 17 00:00:00 2001 From: Tommy Date: Thu, 26 May 2022 22:31:56 -0400 Subject: [PATCH] Fixes --- dom0.sh | 7 ++++++- {fedora => fedora-brave}/brave.sh | 0 kicksecure/kicksecure.sh | 6 ++---- kicksecure/protonvpn.sh | 16 +--------------- kicksecure/signal.sh | 2 +- 5 files changed, 10 insertions(+), 21 deletions(-) rename {fedora => fedora-brave}/brave.sh (100%) diff --git a/dom0.sh b/dom0.sh index 5c44c37..cdc81cf 100644 --- a/dom0.sh +++ b/dom0.sh @@ -18,4 +18,9 @@ echo "export QT_QPA_PLATFORMTHEME=gtk2" | sudo tee /etc/environment #Obviously replace vault-gpg with the actual GPG backend that you are using https://www.qubes-os.org/doc/split-gpg/ echo "emails vault-gpg allow" | sudo tee /etc/qubes-rpc/policy/qubes.Gpg -echo "@anyvm @anyvm ask,default_target=vault-gpg" | sudo tee -a /etc/qubes-rpc/policy/qubes.Gpg \ No newline at end of file +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 \ No newline at end of file diff --git a/fedora/brave.sh b/fedora-brave/brave.sh similarity index 100% rename from fedora/brave.sh rename to fedora-brave/brave.sh diff --git a/kicksecure/kicksecure.sh b/kicksecure/kicksecure.sh index fa27f20..e549915 100644 --- a/kicksecure/kicksecure.sh +++ b/kicksecure/kicksecure.sh @@ -5,15 +5,13 @@ sudo cp ~/derivative.asc /usr/share/keyrings/derivative.asc echo "deb [signed-by=/usr/share/keyrings/derivative.asc] https://deb.kicksecure.com bullseye main contrib non-free" | sudo tee /etc/apt/sources.list.d/derivative.list #Debloat -sudo apt purge -y thunderbird emacs emacs-gtk emacs-bin-common emacs-common firefox* keepassxc cups* system-config-printer* xsettingsd xterm* yelp* +sudo apt purge -y thunderbird emacs emacs-gtk emacs-bin-common emacs-common firefox* keepassxc cups* system-config-printer* xsettingsd yelp* sudo apt autoremove -y sudo apt autoclean #Distribution morphing -sudo addgroup --system console -sudo adduser user console -sudo adduser user sudo sudo apt install --no-install-recommends kicksecure-qubes-cli -y +sudo apt autoremove -y sudo mv /etc/apt/sources.list ~/ sudo touch /etc/apt/sources.list diff --git a/kicksecure/protonvpn.sh b/kicksecure/protonvpn.sh index ae3d2ef..71c4fa7 100644 --- a/kicksecure/protonvpn.sh +++ b/kicksecure/protonvpn.sh @@ -1,20 +1,6 @@ #!/bin/bash -sudo apt install --no-install-recommends qubes-core-agent-networking qubes-core-agent-network-manager notification-daemon gnome-keyring arc-theme -y - curl --proxy http://127.0.0.1:8082/ -O https://protonvpn.com/download/protonvpn-stable-release_1.0.1-1_all.deb sudo apt install --no-install-recommends ./protonvpn-stable-release_1.0.1-1_all.deb -y sudo apt update -sudo apt install --no-install-recommends protonvpn -y - -sudo mkdir -p /etc/gtk-3.0 -echo '[Settings] -gtk-theme-name=Arc-Dark -gtk-application-prefer-dark-theme=1 -' | sudo tee /etc/gtk-3.0/settings.ini - -sudo mkdir -p /etc/gtk-4.0 -echo '[Settings] -gtk-theme-name=Arc-Dark -gtk-application-prefer-dark-theme=1 -' | sudo tee /etc/gtk-4.0/settings.ini \ No newline at end of file +sudo apt install --no-install-recommends protonvpn -y \ No newline at end of file diff --git a/kicksecure/signal.sh b/kicksecure/signal.sh index 226a53c..ba1bf7e 100644 --- a/kicksecure/signal.sh +++ b/kicksecure/signal.sh @@ -4,4 +4,4 @@ curl --proxy http://127.0.0.1:8082/ https://updates.signal.org/desktop/apt/keys. cat signal-desktop-keyring.gpg | sudo tee -a /usr/share/keyrings/signal-desktop-keyring.gpg > /dev/null echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/signal-desktop-keyring.gpg] https://updates.signal.org/desktop/apt xenial main' | sudo tee -a /etc/apt/sources.list.d/signal-xenial.list -sudo apt update && sudo apt install signal-desktop +sudo apt update && sudo apt install signal-desktop -y \ No newline at end of file