systemd.mounts.*.enable
NixOS option
If set to false, this unit will be a symlink to /dev/null. This is primarily useful to prevent specific template instances (e.g. serial-getty@ttyS0) from being started. Note that enable=true does not make a unit start by default at boot; if you want that, see wantedBy.
type: booleanDefault
declared in: nixos/modules/system/boot/systemd.nixView source on NixOS/nixpkgs →true