Enable swap on Raspi

This commit is contained in:
Andreas Zweili 2024-03-06 09:21:04 +01:00
parent 63cdd3a61d
commit b30ce21f33
1 changed files with 6 additions and 0 deletions

View File

@ -95,6 +95,12 @@ in
device = "/dev/disk/by-label/BOOT";
fsType = "vfat";
};
swapDevices = [
{
device = "/var/lib/swapfile";
size = 4 * 1024;
}
];
boot = {
initrd.availableKernelModules = [