The GoPro Hero 7 uses MTP for transferring files. To connect on NixOS you need to have MTP.
The best GUI tool for MTP is gmtp
. Connect your GoPro and use gmtp
to transfer files.
For more advanced interaction with GoPro devices, see NixOS/nixpkgs#65607