Added more swap

This commit is contained in:
ari committed 2024-08-18 21:43:05 -04:00
1 parent 99dc92947c
commit 67dd88c179
1 file changed
+7 -1
+7 -1
View File
@@ -42,7 +42,13 @@
};
swapDevices =
[{ device = "/dev/disk/by-uuid/5175a4b0-0067-47c6-b7da-35acb247f134"; }];
[
{ device = "/dev/disk/by-uuid/5175a4b0-0067-47c6-b7da-35acb247f134"; }
{
device = "/swapfile";
size = 16 * 1024; # 16GB
}
];
networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";