adding swap

This commit is contained in:
Aaron Honeycutt 2024-09-20 20:15:53 +00:00
parent a35814a862
commit d8847a56a7

View file

@ -4,7 +4,6 @@
imports =
[
./hardware-configuration.nix
./work.nix
];
# Latest kernel
@ -29,6 +28,11 @@
options = "--delete-older-than 1w";
};
swapDevices = [ {
device = "/var/lib/swapfile";
size = 16*1024;
} ];
zramSwap.enable = true;
networking.networkmanager.enable = true;