From 74b28e770a4c04d3f92db6211d9cee3af8cefeda Mon Sep 17 00:00:00 2001 From: Logan Fick Date: Mon, 26 May 2025 12:31:45 -0400 Subject: [PATCH] Added periodic scrubbing of root filesystem. --- install-arch-linux.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install-arch-linux.sh b/install-arch-linux.sh index 267063b..896542a 100755 --- a/install-arch-linux.sh +++ b/install-arch-linux.sh @@ -179,6 +179,9 @@ arch-chroot /mnt sed -i '/^#timeout 3/s/^#//' /boot/loader/loader.conf print "Enabling fstrim timer..." arch-chroot /mnt systemctl enable fstrim.timer +print "Enabling scrub timer..." +arch-chroot /mnt systemctl enable btrfs-scrub@-.timer + print "Enabling sudo access for wheel group..." arch-chroot /mnt sed -i "s|^# %wheel ALL=(ALL:ALL) ALL|%wheel ALL=(ALL:ALL) ALL|" /etc/sudoers