host/istal: add swapfile

This commit is contained in:
Dmitriy Pleshevskiy 2024-08-07 19:10:30 +03:00
parent 752d6a3a60
commit 86dd8bec5e
Signed by: pleshevskiy
GPG key ID: 17041163DA10A9A2

View file

@ -5,4 +5,11 @@
./generated.nix
./networking.secret.nix
];
swapDevices = [
{
device = "/var/lib/swapfile";
size = 2 * 1024;
}
];
}