swap to RAM, allow up to 10% of memory be used for that

This commit is contained in:
Christoph Cullmann 2025-06-30 21:02:39 +02:00
parent 4e64e676d9
commit 2db5befa3d
No known key found for this signature in database

View file

@ -78,8 +78,9 @@ in
"tipc" "tipc"
]; ];
# swap to RAM # swap to RAM, allow up to 10% of memory be used for that
zramSwap.enable = true; zramSwap.enable = true;
zramSwap.memoryPercent = 10;
# harden some services # harden some services
systemd.services.systemd-rfkill = { systemd.services.systemd-rfkill = {