Question about gocryptfs (and dropbox?)

I have set up a vault in $HOME/Dropbox/DropVault which I mount to $HOME/OpenDrop. I also have a vault $HOME/DocVault which I mount at $HOME/Documents. When I reboot, the Dropbox vault mounts automatically (to my surprise), while the Documents directory doesn’t. I am trying to understand the difference. I like the automount, but would like to understand how it is happening since I didn’t explicitly do so, and don’t know how it stores the password.

I’d appreciate any insights into this. Ty.

I think this isn’t enough information. You’d probably need to share the relevant parts of the configuration.

I did no special configuration, I simply added the packages. The Dropbox directory was created automatically. What additional relevant info can I provide? I use flakes and home manager and follow unstable.

How do you mount it? In both cases.

gocryptfs Dropbox/DropVault OpenDrop
gocryptfs DocVault Documents

After rebooting, DropVault is automatically mounted at OpenDrop, but I need to issue the above command to mount DocVault to Documents.

I’m wondering if Dropbox, the package, does some jiggery-pokery.

If that’s really all you ran, and there’s nothing in your config about these paths, then this doesn’t seem like a nix/nixpkgs/nixos issue.

Sorry, my bad. I had rsynced to the OpenDrop directory when it was not mounted, so I wasn’t actually seeing the opened Vault, just an ordinary directory. So all is good, password isn’t stored anywhere, and I can just mount both normally. Thanks all.
Long ago I had a similar issue, I had mounted a partition to a non-empty mount point. Unlike fusermount mount will, or used to, happily mount to the mountpoint, hiding all the files in the actual directory. I kept running out of disk space, and df and du gave very different information.