Enable swap on Raspi
This commit is contained in:
parent
63cdd3a61d
commit
b30ce21f33
|
@ -95,6 +95,12 @@ in
|
|||
device = "/dev/disk/by-label/BOOT";
|
||||
fsType = "vfat";
|
||||
};
|
||||
swapDevices = [
|
||||
{
|
||||
device = "/var/lib/swapfile";
|
||||
size = 4 * 1024;
|
||||
}
|
||||
];
|
||||
|
||||
boot = {
|
||||
initrd.availableKernelModules = [
|
||||
|
|
Loading…
Reference in New Issue