diff --git a/configuration.nix b/configuration.nix index 649816e..b8056db 100644 --- a/configuration.nix +++ b/configuration.nix @@ -7,7 +7,11 @@ services.logrotate.checkConfig = false; boot.tmp.cleanOnBoot = true; - zramSwap.enable = true; + zramSwap = { + enable = true; + memoryPercent = 50; + algorithm = "zstd"; + }; networking.hostName = "nixos"; networking.domain = "";