๐Ÿ”ง Where my dotfiles lives in harmony and peace, most of the time
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

๐Ÿ”ง Add system-level configuration for reflector and maintenance tools

+43
+6
Makefile
··· 96 96 @ mkdir -p "$(HOME)/.config/io.datasette.llm" 97 97 @ ln -sfT $(DOTFILES)/llm "$(HOME)/.config/io.datasette.llm/templates" 98 98 99 + .PHONY: reflector 100 + reflector: 101 + @ sudo rm /etc/xdg/reflector/reflector.conf 102 + @ sudo cp $(DOTFILES)/system/reflector.conf /etc/xdg/reflector/reflector.conf 103 + @ $(DOTFILES)/system/setup.sh 104 + 99 105 .PHONY: maintenance 100 106 maintenance: 101 107 @ docker system prune --volumes --all
+1
system/99-swappiness.conf
··· 1 + vm.swappiness = 35
+4
system/reflector.conf
··· 1 + --save /etc/pacman.d/mirrorlist 2 + --protocol https 3 + --latest 20 4 + --sort age
+32
system/setup.sh
··· 1 + #!/usr/bin/env bash 2 + 3 + packages=( 4 + ufw 5 + reflector 6 + util-linux 7 + preload 8 + ) 9 + 10 + # Install Hyprland and related packages 11 + paru -S --needed --noconfirm "${packages[@]}" 12 + 13 + # Firewall 14 + if ! systemctl is-enabled --quiet ufw; then 15 + systemctl enable --now ufw 16 + sudo ufw enable 17 + fi 18 + 19 + # Reflector 20 + if ! systemctl is-enabled --quiet reflector; then 21 + systemctl enable --now reflector.service 22 + fi 23 + 24 + # SSD Trim 25 + if ! systemctl is-enabled --quiet fstrim.timer; then 26 + systemctl enable --now fstrim.timer 27 + fi 28 + 29 + # Preload 30 + if ! systemctl is-enabled --quiet preload; then 31 + systemctl enable --now preload 32 + fi