services.udisks2.mountOnMedia
When enabled, instructs udisks2 to mount removable drives under /media/ directory, instead of the
default, ACL-controlled /run/media/$USER/. Since /media/ is not mounted as tmpfs by default, it
requires cleanup to get rid of stale mountpoints; enabling this option will take care of this at boot.
- Type
boolean- Default
false- Declared
- <nixpkgs/nixos/modules/services/hardware/udisks2.nix>