bare-metal: enable zramSwap
Alan Pearce alan@alanpearce.eu
Wed, 28 Aug 2019 15:39:13 +0200
1 files changed, 4 insertions(+), 0 deletions(-)
M modules/hardware/bare-metal.nix → modules/hardware/bare-metal.nix
@@ -16,6 +16,10 @@ "net.ipv4.tcp_allowed_congestion_control" = "illinois reno lp"; "net.ipv4.tcp_congestion_control" = "illinois"; }; + zramSwap = { + enable = true; + algorithm = "zstd"; + }; boot.tmpOnTmpfs = true; boot.kernelModules = [ "bfq" ];