host/istal: add swapfile
This commit is contained in:
parent
752d6a3a60
commit
86dd8bec5e
1 changed files with 7 additions and 0 deletions
|
@ -5,4 +5,11 @@
|
|||
./generated.nix
|
||||
./networking.secret.nix
|
||||
];
|
||||
|
||||
swapDevices = [
|
||||
{
|
||||
device = "/var/lib/swapfile";
|
||||
size = 2 * 1024;
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue