From 8c0db96ca409b93313111352a2cc454281c8285e Mon Sep 17 00:00:00 2001 From: andromeda Date: Mon, 26 Jan 2026 21:40:03 +0100 Subject: robot, also continuwuity, also zram --- modules/nixos/zram.nix | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 modules/nixos/zram.nix (limited to 'modules/nixos/zram.nix') diff --git a/modules/nixos/zram.nix b/modules/nixos/zram.nix new file mode 100644 index 0000000..80fc88a --- /dev/null +++ b/modules/nixos/zram.nix @@ -0,0 +1,8 @@ +{ + zramSwap = { + enable = true; + priority = 100; + algorithm = "zstd"; + memoryPercent = 75; + }; +} -- cgit v1.3