I just found a much better way of crrating swap.
https://discourse.nixos.org/t/how-to-add-a-swap-after-nixos-installation/41742
No need for partition or subvolume, it will just create a swap file under root at the top level.
I just found a much better way of crrating swap.
https://discourse.nixos.org/t/how-to-add-a-swap-after-nixos-installation/41742
No need for partition or subvolume, it will just create a swap file under root at the top level.