diff options
| author | Karel Kočí <cynerd@email.cz> | 2025-11-14 11:57:46 +0100 |
|---|---|---|
| committer | Karel Kočí <cynerd@email.cz> | 2025-11-14 11:57:46 +0100 |
| commit | 65a10ee991c35bd2e2613deee45c2eeeb14d04fb (patch) | |
| tree | 3171d71b3449c5d57af22bb799cf1738ad4140e3 /nixos/configurations/errol.nix | |
| parent | e44c078ebcea9d81da6d61a0ae596a3e46e9a12d (diff) | |
| download | nixos-personal-65a10ee991c35bd2e2613deee45c2eeeb14d04fb.tar.gz nixos-personal-65a10ee991c35bd2e2613deee45c2eeeb14d04fb.tar.bz2 nixos-personal-65a10ee991c35bd2e2613deee45c2eeeb14d04fb.zip | |
Enable zramswap on desktops
Diffstat (limited to 'nixos/configurations/errol.nix')
| -rw-r--r-- | nixos/configurations/errol.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/configurations/errol.nix b/nixos/configurations/errol.nix index ef634fb..e45fae5 100644 --- a/nixos/configurations/errol.nix +++ b/nixos/configurations/errol.nix @@ -9,6 +9,11 @@ hardware.cpu.amd.updateMicrocode = true; services.hardware.openrgb.motherboard = "amd"; + zramSwap = { + enable = true; + memoryPercent = 50; + }; + cynerd.autounlock = { "encroot" = "/dev/disk/by-uuid/7c412ae6-6016-45af-8c2a-8fcc394dbbe6"; "enchdd1" = "/dev/disk/by-uuid/87f16080-5ff6-43dd-89f3-307455a46fbe"; |
