Nextcloud and keyrings

Going crazy with this…

I don’t want to remember my nextcloud account password, so I’d like to use the integration with a keyring.
I had it working under 18.03, but I forget what package was removed (I think gnome2-keyring), and now I can’t get it to work.

Whatever I install (kwallet, gnome-keyring3) I get the message

secret service operation failed: Type of message, ‘(a{sv})’, does not match expected type ‘(a{sv}s)’

Any suggestion?

1 Like

Did you have a look at Cannot link to binary · Issue #25284 · NixOS/nixpkgs · GitHub yet? It seems related to your issue.

1 Like

Look at that! Indeed this was enough:

packageOverrides = pkgs: {
    nextcloud-client = pkgs.nextcloud-client.override { withGnomeKeyring = true; libgnome-keyring = pkgs.gnome3.libgnome-keyring; };
}

Thanks!