1
0
mirror of https://github.com/tommytran732/QubesOS-Scripts synced 2024-10-18 03:35:12 -04:00

Compare commits

..

No commits in common. "19b704ca650458770e938cc7717e3353bccb0434" and "aafe775b77585eecb75db2c9c339449845009fa4" have entirely different histories.

5 changed files with 23 additions and 19 deletions

View File

@ -31,9 +31,9 @@ echo 'QT_QPA_PLATFORMTHEME=gtk2' | sudo tee -a /etc/environment
sudo mkdir -p /etc/gtk-3.0
echo '[Settings]
gtk-theme-name=Arc-Dark
gtk-application-prefer-dark-theme = true' | sudo tee /etc/gtk-3.0/settings.ini
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 = true' | sudo tee /etc/gtk-4.0/settings.ini
gtk-application-prefer-dark-theme=1' | sudo tee /etc/gtk-4.0/settings.ini

View File

@ -1,3 +1,3 @@
[Settings]
gtk-theme-name=Arc-Dark
gtk-application-prefer-dark-theme = true
gtk-application-prefer-dark-theme=1

View File

@ -1,3 +1,3 @@
[Settings]
gtk-theme-name=Arc-Dark
gtk-application-prefer-dark-theme = true
gtk-application-prefer-dark-theme=1

View File

@ -128,19 +128,23 @@ sudo mkdir -p /etc/systemd/system/ModemManager.service.d
unpriv curl --proxy http://127.0.0.1:8082 https://raw.githubusercontent.com/divestedcg/Brace/master/brace/usr/lib/systemd/system/ModemManager.service.d/99-brace.conf | sudo tee /etc/systemd/system/ModemManager.service.d/99-brace.conf
# Setup hardened_malloc
#sudo dnf install 'https://divested.dev/rpm/fedora/divested-release-20231210-2.noarch.rpm' -y
#sudo sed -i 's/^metalink=.*/&?protocol=https/g' /etc/yum.repos.d/divested-release.repo
#sudo dnf config-manager --save --setopt=divested.includepkgs=divested-release,real-ucode,microcode_ctl,amd-ucode-firmware,hardened_malloc
#sudo dnf install hardened_malloc -y
#echo 'libhardened_malloc.so' | sudo tee /etc/ld.so.preload
sudo dnf install 'https://divested.dev/rpm/fedora/divested-release-20231210-2.noarch.rpm' -y
sudo sed -i 's/^metalink=.*/&?protocol=https/g' /etc/yum.repos.d/divested-release.repo
sudo dnf config-manager --save --setopt=divested.includepkgs=divested-release,real-ucode,microcode_ctl,amd-ucode-firmware,hardened_malloc
sudo dnf install hardened_malloc -y
echo 'libhardened_malloc.so' | sudo tee /etc/ld.so.preload
# Setup networking
# We don't need the usual mac address randomization and stuff here, because this template is not used for sys-net
unpriv curl --proxy http://127.0.0.1:8082 https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/NetworkManager/conf.d/00-macrandomize.conf | sudo tee /etc/NetworkManager/conf.d/00-macrandomize.conf
unpriv curl --proxy http://127.0.0.1:8082 https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/NetworkManager/conf.d/01-transient-hostname.conf | sudo tee /etc/NetworkManager/conf.d/01-transient-hostname.conf
# Can't do nmcli reload here because NetworkManager is not running in a TemplateVM
# sudo nmcli general reload conf
sudo hostnamectl hostname 'localhost'
sudo hostnamectl --transient hostname ''
sudo mkdir -p /etc/systemd/system/NetworkManager.service.d
unpriv curl --proxy http://127.0.0.1:8082 https://gitlab.com/divested/brace/-/raw/master/brace/usr/lib/systemd/system/NetworkManager.service.d/99-brace.conf | sudo tee /etc/systemd/system/NetworkManager.service.d/99-brace.conf
sudo systemctl daemon-reload
# Fix desktop environmemt variable
echo 'XDG_CURRENT_DESKTOP=GNOME' >> /etc/environment
sudo systemctl restart NetworkManager

View File

@ -23,7 +23,7 @@ unpriv curl --proxy http://127.0.0.1:8082 https://raw.githubusercontent.com/Tomm
sudo chmod 644 /etc/apt/apt.conf.d/99sane-upgrades
# Install packages
sudo apt install --no-install-recommends arc-theme pipewire-pulse -y
sudo apt install --no-install-recommends qt5ct qt5-style-plugins arc-theme git pipewire-pulse -y
# Restrict /proc and access
sudo systemctl enable --now proc-hidepid.service