Enable zram in places
This commit is contained in:
parent
658cd63fdd
commit
30a491024b
|
@ -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} = {
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
};
|
||||
|
||||
swapDevices = [
|
||||
{ device = "/var/swapfile"; size = 32 * 1024; }
|
||||
{ device = "/var/swapfile"; size = 32 * 1024; priority = 10; }
|
||||
];
|
||||
|
||||
boot.blacklistedKernelModules = [
|
||||
|
|
Loading…
Reference in a new issue