From 49bf16698295cd068e125333ec2f7c7bfa6bda27 Mon Sep 17 00:00:00 2001 From: adikro Date: Mon, 22 Dec 2025 04:29:04 +0100 Subject: fixed the memory management module --- hosts/laptop/configuration.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'hosts/laptop') diff --git a/hosts/laptop/configuration.nix b/hosts/laptop/configuration.nix index 3012da5..d9f458a 100644 --- a/hosts/laptop/configuration.nix +++ b/hosts/laptop/configuration.nix @@ -26,10 +26,14 @@ locale.enable = true; network.enable = true; memory = { - zram.enable = true; - zram.percent = 25; - swapfile.enable = true; - swapfile.size = 8; + zram = { + enable = true; + percent = 25; + }; + swapfile = { + enable = true; + size = 8; + }; }; power.enable = true; security.enable = true; -- cgit v1.3