Use gnome3 pinentry
This commit is contained in:
parent
27fb80a1e5
commit
b63fb266c3
|
@ -8,8 +8,7 @@ with lib; {
|
||||||
components = [ "pkcs11" "secrets" "ssh" ];
|
components = [ "pkcs11" "secrets" "ssh" ];
|
||||||
};
|
};
|
||||||
services.gpg-agent.enable = true;
|
services.gpg-agent.enable = true;
|
||||||
services.gpg-agent.enableSshSupport = true;
|
services.gpg-agent.pinentryFlavor = "gnome3";
|
||||||
services.gpg-agent.pinentryFlavor = "gtk2";
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -30,6 +30,11 @@
|
||||||
if test -e /opt/homebrew/bin/brew
|
if test -e /opt/homebrew/bin/brew
|
||||||
/opt/homebrew/bin/brew shellenv | source
|
/opt/homebrew/bin/brew shellenv | source
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Gnome-keyring startup
|
||||||
|
if type -q gnome-keyring-daemon
|
||||||
|
set -x (gnome-keyring-daemon --start | string split "=")
|
||||||
|
end
|
||||||
'';
|
'';
|
||||||
|
|
||||||
interactiveShellInit = ''
|
interactiveShellInit = ''
|
||||||
|
|
Loading…
Reference in a new issue