15 lines
143 B
Nix
15 lines
143 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
inputs,
|
|
...
|
|
}:
|
|
{
|
|
swapDevices = [
|
|
{
|
|
device = "/swap/swapfile";
|
|
size = (1024 * 2); # 2 GB
|
|
}
|
|
];
|
|
}
|