add swap file to wheatley

This commit is contained in:
Lillian Violet 2024-12-08 15:09:10 +01:00
parent 9c04783246
commit c0d9fc440e
2 changed files with 10 additions and 12 deletions

View file

@ -16,7 +16,12 @@
boot.extraModulePackages = [];
boot.supportedFilesystems = lib.mkForce ["btrfs" "cifs" "f2fs" "jfs" "ntfs" "reiserfs" "vfat" "xfs"];
swapDevices = [];
swapDevices = [
{
device = "/var/lib/swapfile";
size = 16 * 1024;
}
];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's