Every now and then I use bashmount
(which I install ad-hoc with nix run nixpkps#bashmount
) to mount an USB key. It used to automatically mount it somewhere in /run
in a directory that had my username somewhere in the path and was owned by me.
After upgrading to nixos 23.05, it now asks for a mountpoint, my password for sudo
and then mounts it with ownership given to root
.
How can I get back the sensible behaviour from before?