Is there a way to setup nix way to force gui apps to use sops secrets? I couldn’t find a way to do this yet. I have example thunderbird and some other that I want it to get login and password from sops secrets, but it is still defaultting to gnome secrets manager
Those apps usually use libsecret and ask the dbus for libsecret providers. I am not awarebof an adapter for sops.
3 Likes
If I recall correctly you should be able to use home-managers accounts.email.accounts.<name>.thunderbird to set the email settings including password commands.
For other application it heavily depends. I would ask separate questions for each.
1 Like
I got thunderbird to set accounts but not password even it is set to point sops secrets it asks lib secrets/keyring to enter password so I guess it is 50/50 how it can be done. Terminal and TUI sops is perfect, but gui is just it might work it seems…
Thank you for information and I will clean up my file structure little and sips secrets file