Enable zram swap

This commit is contained in:
Paul-Henri Froidmont 2022-11-30 03:54:04 +01:00
parent 63778a9f4c
commit 5f0550b3b0
Signed by: phfroidmont
GPG key ID: BE948AFD7E7873BE
2 changed files with 4 additions and 0 deletions

View file

@ -36,6 +36,8 @@
swapDevices =
[{ device = "/dev/disk/by-uuid/bb8fa9ef-9b8f-413d-913a-6c891649a954"; }];
zramSwap.enable = true;
hardware = {
bluetooth = {
enable = true;

View file

@ -34,6 +34,8 @@
swapDevices =
[{ device = "/dev/disk/by-uuid/f714775c-b5af-4c0c-8330-999b43db4794"; }];
zramSwap.enable = true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
nix.settings.max-jobs = lib.mkDefault 16;