diff --git a/rootfs/etc/limine-snapper-sync.conf b/rootfs/etc/limine-snapper-sync.conf index 6cda0b3..c7a1a85 100644 --- a/rootfs/etc/limine-snapper-sync.conf +++ b/rootfs/etc/limine-snapper-sync.conf @@ -89,6 +89,7 @@ MAX_SNAPSHOT_ENTRIES=20 ### Examples: #SNAPSHOT_KERNEL_PARAMETERS-=quiet splash #SNAPSHOT_KERNEL_PARAMETERS+=systemd.volatile=overlay +SNAPSHOT_KERNEL_PARAMETERS+=zswap.enabled=0 ### Make Snapshots Writable diff --git a/rootfs/etc/systemd/zram-generator.conf b/rootfs/etc/systemd/zram-generator.conf index b5d98af..87514df 100644 --- a/rootfs/etc/systemd/zram-generator.conf +++ b/rootfs/etc/systemd/zram-generator.conf @@ -1,2 +1,4 @@ [zram0] +zram-size = 6144 compression-algorithm = zstd +swap-priority = 100 diff --git a/templates/limine.conf b/templates/limine.conf index 43f23a0..206f4d6 100644 --- a/templates/limine.conf +++ b/templates/limine.conf @@ -17,13 +17,13 @@ default_entry: 2 kernel_path: boot():/vmlinuz-linux-zen module_path: boot():/amd-ucode.img module_path: boot():/initramfs-linux-zen.img - kernel_cmdline: root=UUID=@ROOT_UUID@ rw rootflags=subvol=@ quiet loglevel=3 + kernel_cmdline: root=UUID=@ROOT_UUID@ rw rootflags=subvol=@ quiet loglevel=3 zswap.enabled=0 //Kernel LTS protocol: linux kernel_path: boot():/vmlinuz-linux-lts module_path: boot():/amd-ucode.img module_path: boot():/initramfs-linux-lts.img - kernel_cmdline: root=UUID=@ROOT_UUID@ rw rootflags=subvol=@ quiet loglevel=3 + kernel_cmdline: root=UUID=@ROOT_UUID@ rw rootflags=subvol=@ quiet loglevel=3 zswap.enabled=0 //Snapshots