nixos-config/hosts/phantom/hardware-config.nix
2024-05-30 16:55:59 -03:00

15 lines
143 B
Nix

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