Enable zram in places

This commit is contained in:
Natsu Kagami 2023-09-07 23:34:01 +02:00
parent 658cd63fdd
commit 30a491024b
Signed by: nki
GPG key ID: 55A032EB38B49ADB
2 changed files with 3 additions and 1 deletions

View file

@ -154,6 +154,8 @@ in
hardware.bluetooth.package = pkgs.bluez5-experimental; # Why do we need experimental...?
hardware.bluetooth.settings.General.Experimental = true;
services.blueman.enable = true; # For a GUI
# ZRAM
zramSwap.enable = true;
## Users
users.users.${cfg.username} = {

View file

@ -29,7 +29,7 @@
};
swapDevices = [
{ device = "/var/swapfile"; size = 32 * 1024; }
{ device = "/var/swapfile"; size = 32 * 1024; priority = 10; }
];
boot.blacklistedKernelModules = [