Added zram, pacstall, and btrfsmaintenance

This commit is contained in:
Eric Renfro 2024-06-24 12:41:18 -04:00
parent 3118ad870b
commit 831f6dc6fe
Signed by: psi-jack
SSH key fingerprint: SHA256:1TKB8Z257L8EHK8GWNxKgMhD8a+FAR+f+j3nnlcuNVM

View file

@ -1,6 +1,7 @@
#!/bin/bash
apt install -y snapper inotify-tools git make
apt install -y snapper inotify-tools git make systemd-zram-generator btrfsmaintenance axel
bash -c "$(curl -fsSL https://pacstall.dev/q/install)"
pushd /
@ -35,4 +36,9 @@ update-grub2
cd /tmp
rm -rf grub-btrfs
echo "zram-size = 2048" >> /etc/systemd/zram-generator.conf
echo "compression-algorithm = zstd" >> /etc/systemd/zram-generator.conf
systemctl enable --now btrfs-{scrub,balance,trim}.timer
popd