I am trying to use pass-secret-service as the backend for the libsecret dbus API on my system, and I cannot get this to work. I have this in my /etc/nixos/configuraiton.nix,
services.dbus.packages = with pkgs; [
And every application I run that tries to call the libsecret API, outputs this error,
The name org.freedesktop.secrets was not provided by any .service files
(Even after a reboot.)
The documentation for the libsecret API seems to be rather sparse, and I cannot find any kind of logging around it to even confirm that the service in the pass-secret-service nixpkg is actually running. Has anyone else had any success with this or a similar setup?
That’s looks like a home-manager config, and I never had success with the home-manager module. I think my issue was that dbus units have to be installed at the system level, so I needed to do this in a NixOS module. The configuration option in my previous post should be all you need besides setting up pass itself. pass_secret_service talks to pass, but you need to have it installed and set up already.