Removed unsupported (GNOME 46) extensions and Arch update script tweaks
This commit is contained in:
12
home.nix
12
home.nix
@@ -34,9 +34,6 @@
|
|||||||
# Note to self: This config does not include games/benchmarks. I'm using flatpak for those.
|
# Note to self: This config does not include games/benchmarks. I'm using flatpak for those.
|
||||||
|
|
||||||
gnomeExtensions.vitals
|
gnomeExtensions.vitals
|
||||||
gnomeExtensions.blur-my-shell
|
|
||||||
gnomeExtensions.appindicator
|
|
||||||
gnomeExtensions.caffeine
|
|
||||||
gnomeExtensions.clipboard-indicator
|
gnomeExtensions.clipboard-indicator
|
||||||
|
|
||||||
# Override nerdfont to install JetBrains only.
|
# Override nerdfont to install JetBrains only.
|
||||||
@@ -87,13 +84,15 @@
|
|||||||
sudo journalctl --vacuum-time=7d
|
sudo journalctl --vacuum-time=7d
|
||||||
elif [ "$(grep -Ei 'arch|manjaro|artix' /etc/*release)" ]; then
|
elif [ "$(grep -Ei 'arch|manjaro|artix' /etc/*release)" ]; then
|
||||||
echo "Updating Arch..."
|
echo "Updating Arch..."
|
||||||
|
sudo sed -i 's/^#ParallelDownloads/ParallelDownloads/' /etc/pacman.conf
|
||||||
sudo pacman -Syu
|
sudo pacman -Syu
|
||||||
sudo pacman -Rsn $(pacman -Qdtq)
|
sudo pacman -Rsn $(pacman -Qdtq)
|
||||||
echo "Selecting the fastest mirrors..."
|
echo "Selecting the fastest mirrors..."
|
||||||
if [ ! "$(command -v reflector)" ]; then
|
if [ ! "$(command -v reflector)" ]; then
|
||||||
sudo pacman -Syu --noconfirm reflector
|
sudo pacman -Syu --noconfirm reflector rsync curl
|
||||||
fi
|
fi
|
||||||
reflector -a 48 -c $iso -f 5 -l 20 --sort rate --save /etc/pacman.d/mirrorlist
|
iso=$(curl -4 ifconfig.co/country-iso)
|
||||||
|
sudo reflector -c $iso -a 48 -f 5 -l 30 --verbose --sort rate --save /etc/pacman.d/mirrorlist
|
||||||
echo "Cleaning pacman cache..."
|
echo "Cleaning pacman cache..."
|
||||||
if [ ! "$(command -v paccache)" ]; then
|
if [ ! "$(command -v paccache)" ]; then
|
||||||
sudo pacman -Syu --noconfirm pacman-contrib
|
sudo pacman -Syu --noconfirm pacman-contrib
|
||||||
@@ -251,9 +250,6 @@
|
|||||||
# `gnome-extensions list` for a list
|
# `gnome-extensions list` for a list
|
||||||
enabled-extensions = [
|
enabled-extensions = [
|
||||||
"Vitals@CoreCoding.com"
|
"Vitals@CoreCoding.com"
|
||||||
"blur-my-shell@aunetx"
|
|
||||||
"appindicatorsupport@rgcjonas.gmail.com"
|
|
||||||
"caffeine@patapon.info"
|
|
||||||
"clipboard-indicator@tudmotu.com"
|
"clipboard-indicator@tudmotu.com"
|
||||||
# Add new extensions to the packages too! This section only enables extensions, not install them.
|
# Add new extensions to the packages too! This section only enables extensions, not install them.
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user