From b6476accfa4cdb00fc0b26fa93a3a2e549975c54 Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Thu, 29 Feb 2024 15:57:12 +0100 Subject: [PATCH] Enable zram. --- nixos/configuration.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 0ee2fa6..e6bb692 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -242,6 +242,9 @@ virtualisation.libvirtd.enable = true; programs.virt-manager.enable = true; + # Enable zram swap device + zramSwap.enable = true; + # DO NOT CHANGE system.stateVersion = "23.11";