Enable zram swap
This commit is contained in:
parent
63778a9f4c
commit
5f0550b3b0
2 changed files with 4 additions and 0 deletions
|
|
@ -36,6 +36,8 @@
|
||||||
swapDevices =
|
swapDevices =
|
||||||
[{ device = "/dev/disk/by-uuid/bb8fa9ef-9b8f-413d-913a-6c891649a954"; }];
|
[{ device = "/dev/disk/by-uuid/bb8fa9ef-9b8f-413d-913a-6c891649a954"; }];
|
||||||
|
|
||||||
|
zramSwap.enable = true;
|
||||||
|
|
||||||
hardware = {
|
hardware = {
|
||||||
bluetooth = {
|
bluetooth = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,8 @@
|
||||||
swapDevices =
|
swapDevices =
|
||||||
[{ device = "/dev/disk/by-uuid/f714775c-b5af-4c0c-8330-999b43db4794"; }];
|
[{ device = "/dev/disk/by-uuid/f714775c-b5af-4c0c-8330-999b43db4794"; }];
|
||||||
|
|
||||||
|
zramSwap.enable = true;
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
|
|
||||||
nix.settings.max-jobs = lib.mkDefault 16;
|
nix.settings.max-jobs = lib.mkDefault 16;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue