Added zram, pacstall, and btrfsmaintenance
This commit is contained in:
parent
3118ad870b
commit
831f6dc6fe
1 changed files with 7 additions and 1 deletions
|
@ -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
|
Loading…
Reference in a new issue