Switch to swapfile on Mirkwood

This commit is contained in:
Marko Korhonen 2024-11-07 22:13:06 +02:00
parent 6ed53fdd5e
commit eb076bbd15
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890
2 changed files with 5 additions and 3 deletions

View file

@ -8,4 +8,9 @@
networking.hostName = "Mirkwood";
boot.initrd.kernelModules = [ "amdgpu" ];
swapDevices = [{
device = "/var/lib/swapfile";
size = 8 * 1024;
}];
}

View file

@ -29,9 +29,6 @@
options = [ "fmask=0077" "dmask=0077" ];
};
swapDevices =
[{ device = "/dev/disk/by-uuid/dba8a94b-d7b6-4ac1-a0bb-82d6538ff331"; }];
# 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
# still possible to use this option, but it's recommended to use it in conjunction