NTFS removable USB drive configuration

I have a USB terabyte drive configured in NTFS. Ubuntu shows it as a FUSE drive.

I have added the following to configuration.nix but it does not automount.

boot.supportedFilesystems = [ “ntfs” ];

services.udisks2.enable = true;

#and later

environment.systemPackages = with pkgs; [

f pkgs.libreoffice-qt
hunspell
hunspellDicts.en_CA

ntfs3g

];

The pop-up on inserting the USB says “wrong fs type”

When I tried “udisksctl mount -t ntfs -b /dev/sda2” it works.
Mounted /dev/sda2 at /run/media/chris/Seagate Backup Plus Drive

I also saw some advice for "environment.etc.“udisk2/mount_options.conf” but did not understand it. It looks like it creates a file in /etc tor udisks to use and I’m not quite ready for that.

Something about setting ntfs:ntfs3_defaults = …,windows_names

How should I configure udisksctl in configuration.nix?

Did you see this?

Thanks for the reference. I don’t however have udiskie or HM.

Got to get some work done before I get back to this but for now I’m just using udisksctl on restarts or when I move the drive. I had hoped there was a configuration.nix entry to use.

What software component is providing this pop-up? You have not stated what desktop environment you are using, if any, or file manager.

I have tried Dolphin and Nautilus on my system with an ntfs formatted drive and it automatically mounts at /run/media/$USER without issue for me.