4
Who's setting up swap for me?
(lemmy.ml)
It's difficult to say without seeing your nixos config. Are you importing any nixos modules? Would you be able to share your configs?
Also see https://nixos.wiki/wiki/Swap In paricular:
If you are using GPT partitioning tables, systemd-gpt-auto-generator(8) will still mount your swap partition automatically.
All about NixOS - https://nixos.org/