mirror of
https://github.com/tommytran732/QubesOS-Scripts
synced 2024-11-26 19:31:34 -05:00
Compare commits
No commits in common. "1fbe586041692deb835cff64be5f3c3241e7fb9e" and "2cb16bcf63bfede66d455c1d0891d70b9619f8dc" have entirely different histories.
1fbe586041
...
2cb16bcf63
@ -81,11 +81,8 @@ unpriv curl --proxy http://127.0.0.1:8082 https://gitlab.com/divested/brace/-/ra
|
|||||||
echo 'XDG_CURRENT_DESKTOP=GNOME' | sudo tee -a /etc/environment
|
echo 'XDG_CURRENT_DESKTOP=GNOME' | sudo tee -a /etc/environment
|
||||||
|
|
||||||
# We do the dnf tasks last, because dnf will break after we configure https repos and we need a reboot to fix it.
|
# We do the dnf tasks last, because dnf will break after we configure https repos and we need a reboot to fix it.
|
||||||
# Mark packages as manualy installed to avoid removal
|
|
||||||
sudo dnf mark install flatpak gnome-menus qubes-menus
|
|
||||||
|
|
||||||
# Remove unnecessary stuff from the Qubes template
|
# Remove unnecessary stuff from the Qubes template
|
||||||
sudo dnf -y remove gnome-software httpd keepassxc thunderbird rygel
|
sudo dnf -y remove thunderbird httpd keepassxc rygel
|
||||||
|
|
||||||
# Remove firefox packages
|
# Remove firefox packages
|
||||||
sudo dnf -y remove fedora-bookmarks fedora-chromium-config firefox mozilla-filesystem
|
sudo dnf -y remove fedora-bookmarks fedora-chromium-config firefox mozilla-filesystem
|
||||||
@ -126,16 +123,15 @@ sudo dnf config-manager --set-disabled fedora-cisco-openh264
|
|||||||
|
|
||||||
# Install custom packages
|
# Install custom packages
|
||||||
# gnome-session is needed for theming to work
|
# gnome-session is needed for theming to work
|
||||||
sudo dnf -y install qubes-ctap qubes-gpg-split adw-gtk3-theme ncurses gnome-console gnome-shell
|
sudo dnf -y install qubes-ctap qubes-gpg-split adw-gtk3-theme gnome-console gnome-session
|
||||||
|
|
||||||
# Setup hardened_malloc
|
# Setup hardened_malloc
|
||||||
sudo dnf -y install 'https://divested.dev/rpm/fedora/divested-release-20231210-2.noarch.rpm'
|
sudo dnf -y install 'https://divested.dev/rpm/fedora/divested-release-20231210-2.noarch.rpm'
|
||||||
sudo dnf config-manager --save --setopt=divested.includepkgs=divested-release,real-ucode,microcode_ctl,amd-ucode-firmware,hardened_malloc
|
|
||||||
sudo sed -i 's/^metalink=.*/&?protocol=https/g' /etc/yum.repos.d/divested-release.repo
|
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 -y install hardened_malloc
|
sudo dnf -y install hardened_malloc
|
||||||
echo 'libhardened_malloc.so' | sudo tee /etc/ld.so.preload
|
echo 'libhardened_malloc.so' | sudo tee /etc/ld.so.preload
|
||||||
|
|
||||||
# Setup DNF
|
# Setup DNF
|
||||||
unpriv curl --proxy http://127.0.0.1:8082 https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/dnf/dnf.conf | sudo tee /etc/dnf/dnf.conf
|
unpriv curl --proxy http://127.0.0.1:8082 https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/dnf/dnf.conf | sudo tee /etc/dnf/dnf.conf
|
||||||
sudo sed -i 's/^metalink=.*/&\&protocol=https/g' /etc/yum.repos.d/*
|
sudo sed -i 's/^metalink=.*/&\&protocol=https/g' /etc/yum.repos.d/*
|
||||||
sudo sed -i 's/&protocol=https//g' /etc/yum.repos.d/divested-release.repo
|
|
Loading…
Reference in New Issue
Block a user