Since NixOS/nix#5226 user profiles are by default located in $XDG_DATA_DIR/nix/profiles. However, the profiles directory is currently [hardcoded](https://github.com/serokell/deploy-rs/blob/2a3c5f70eee04a465aa534d8bd4fcc9bb3c4a8ce/src/lib.rs#L371) in deploy-rs, thus deploy-rs` will likely break for newer nix.
Note that deploy-rs should probably handle both old and new profiles directories to avoid introducing breaking changes for users.