I would like to enable KIO GDrive to access google drive from dolphin. I added the following code to my home manager config.
home.packages = with pkgs; [
...
libsForQt5.kaccounts-integration
libsForQt5.kaccounts-providers
libsForQt5.kio-gdrive
...
];
Now In the online accounts system settings option if I try to add a google account nothing happens. I was able to successfully add a Nextcloud account but google fails.
journalctl --user
shows the following info
Jan 12 21:27:11 nixos krunner[60383]: file:///nix/store/s6v6si8h6wdwaz9sbyshlq4vwbgbx720-kaccounts-integration-22.12.0/share/kpackage/kcms/kcm_kaccounts/contents/ui/AvailableAccounts.qml>
Jan 12 21:27:12 nixos krunner[60383]: "google"
Jan 12 21:27:12 nixos krunner[60383]: Looking for plugin ""
Jan 12 21:27:12 nixos krunner[60383]: Starting auth session with "oauth2"
Jan 12 21:27:12 nixos krunner[60383]: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name com.google.code.AccountsSSO.SingleSignOn was not provided by any .service files")
Jan 12 21:27:13 nixos krunner[60383]: "google"
Jan 12 21:27:13 nixos krunner[60383]: Looking for plugin ""
Jan 12 21:27:13 nixos krunner[60383]: Starting auth session with "oauth2"
Jan 12 21:27:14 nixos krunner[60337]: QCommandLineParser: argument list cannot be empty, it should contain at least the executable name
Jan 12 21:27:14 nixos krunner[60337]: kf.sonnet.core: No language dictionaries for the language: "en_US"
Doing a find in the nix store
I was able to find the following file
/nix/store/070n0spa6xa7lxb8xdlxj95lzjm3ycjv-signond-8.61/share/dbus-1/services/com.google.code.AccountsSSO.SingleSignOn.service
My understanding is that kaccounts isn’t able to detect this file for some reason? How would I go around fixing this issue?