Apparently they still get auto-mounted even if they aren't in your config. You can check the wiki.
this post was submitted on 28 Sep 2023
5 points (100.0% liked)
nixos
1271 readers
1 users here now
All about NixOS - https://nixos.org/
founded 4 years ago
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.