add swapfile os module and enable swap for hs
All checks were successful
/ build-all (push) Successful in 1m6s

This commit is contained in:
ant 2026-02-26 14:58:01 +01:00
parent 87b3f3e5bd
commit 4d8c3fddd0
3 changed files with 11 additions and 5 deletions

9
os/swapfile.nix Normal file
View file

@ -0,0 +1,9 @@
sizeGiB:
{
swapDevices = [
{
device = "/var/lib/swapfile";
size = sizeGiB * 1024;
}
];
}