Use gnome3 pinentry

This commit is contained in:
Natsu Kagami 2022-04-25 14:34:06 -04:00
parent 27fb80a1e5
commit b63fb266c3
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51
2 changed files with 6 additions and 2 deletions

View file

@ -8,8 +8,7 @@ with lib; {
components = [ "pkcs11" "secrets" "ssh" ];
};
services.gpg-agent.enable = true;
services.gpg-agent.enableSshSupport = true;
services.gpg-agent.pinentryFlavor = "gtk2";
services.gpg-agent.pinentryFlavor = "gnome3";
});
}

View file

@ -30,6 +30,11 @@
if test -e /opt/homebrew/bin/brew
/opt/homebrew/bin/brew shellenv | source
end
# Gnome-keyring startup
if type -q gnome-keyring-daemon
set -x (gnome-keyring-daemon --start | string split "=")
end
'';
interactiveShellInit = ''