From 831f6dc6fe4cf2bdff51ec982513893b41e08b19 Mon Sep 17 00:00:00 2001 From: Eric Renfro Date: Mon, 24 Jun 2024 12:41:18 -0400 Subject: [PATCH] Added zram, pacstall, and btrfsmaintenance --- lmde-postinstall.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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