diff --git a/modules/zram_swap.nix b/modules/zram_swap.nix new file mode 100644 index 00000000..897d67f2 --- /dev/null +++ b/modules/zram_swap.nix @@ -0,0 +1,6 @@ +{ config, pkgs, ... }: + +{ + zramSwap.enable = true; + zramSwap.memoryPercent = 25; +}