zram swap for desktop only

This commit is contained in:
Fern Garden 2025-09-04 08:54:32 +08:00
parent ede97dcff8
commit 82b02cda32
2 changed files with 6 additions and 6 deletions

View file

@ -31,6 +31,12 @@ with lib; {
binfmt.emulatedSystems = ["aarch64-linux"];
};
# Enable zram swap.
zramSwap = {
enable = true;
algorithm = "lz4";
};
# Enable smart card support (for YubiKey).
services.pcscd.enable = true;