diff --git a/lmde-postinstall.sh b/lmde-postinstall.sh index 9cba43f..357adcf 100755 --- a/lmde-postinstall.sh +++ b/lmde-postinstall.sh @@ -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 \ No newline at end of file