From 74e7882728702222e49c1c14d76c915863f0b316 Mon Sep 17 00:00:00 2001 From: Mel Date: Wed, 16 Apr 2025 20:38:23 +0200 Subject: Disable docker and create zram swap space for fourmi Signed-off-by: Mel --- machines/fourmi/devices.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'machines/fourmi/devices.nix') diff --git a/machines/fourmi/devices.nix b/machines/fourmi/devices.nix index 61f6d1d..de872a7 100644 --- a/machines/fourmi/devices.nix +++ b/machines/fourmi/devices.nix @@ -21,6 +21,13 @@ kernelModules = [ "wireguard" ]; }; + zramSwap = { + enable = true; + algorithm = "zstd"; + swapDevices = 1; + memoryPercent = 100; + }; + # apply rpi4-specific device tree from nixos-hardware. hardware = { raspberry-pi."4".apply-overlays-dtmerge.enable = true; -- cgit 1.4.1