Hello! I’m moving from udisks to NixOS inbuilt “fileSystem” option to automount my internal hard drive. It does get mounted successfully. The problem is when I try to delete something from my hard drive it gets moved to my ~/.local/share/Trash. So everytime I delete something it gets moved from my hard drive to my main ssd, hence deleting large files take a long time.
This doesn’t used to happen when I was using udisks. Deleting something moved it to .Trash-1000 directory in hard drive’s root. So deleting and restoring something was instant. How can I fix this?
I’m using this in my config:
fileSystems."/mnt/entertainment" =
{ device = "/dev/disk/by-uuid/3bb99774-d7b9-4b6f-b977-33db13be666e";
fsType = "ext4";
};