diff options
| author | adikro <adikro@disroot.org> | 2025-12-22 04:29:04 +0100 |
|---|---|---|
| committer | adikro <adikro@disroot.org> | 2025-12-22 04:29:04 +0100 |
| commit | 49bf16698295cd068e125333ec2f7c7bfa6bda27 (patch) | |
| tree | ae3b8bf11cdffb6f02e3f52a1b757afd524251ec /hosts | |
| parent | 8d1e42316948a6665911ae60d796161ee20e0b54 (diff) | |
fixed the memory management module
Diffstat (limited to 'hosts')
| -rw-r--r-- | hosts/desktop/configuration.nix | 12 | ||||
| -rw-r--r-- | hosts/laptop/configuration.nix | 12 |
2 files changed, 16 insertions, 8 deletions
diff --git a/hosts/desktop/configuration.nix b/hosts/desktop/configuration.nix index 6f9b000..316a573 100644 --- a/hosts/desktop/configuration.nix +++ b/hosts/desktop/configuration.nix @@ -31,10 +31,14 @@ locale.enable = true; network.enable = true; memory = { - zram.enable = true; - zram.percent = 25; - swapfile.enable = true; - swapfile.size = 32; + zram = { + enable = true; + percent = 25; + }; + swapfile = { + enable = true; + size = 32; + }; }; security.enable = true; storage = { 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; |
