nix: configure pinentry in home-manager

This commit is contained in:
Primrose 2024-07-05 10:50:12 +02:00
parent 0b11346dae
commit cf5adcd4df
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
3 changed files with 26 additions and 14 deletions

View file

@ -10,14 +10,15 @@
programs.vim.defaultEditor = true;
programs.git.enable = true;
programs.gnupg.agent = {
enable = true;
pinentryPackage = pkgs.pinentry-curses;
settings = {
default-cache-ttl = 1209600;
max-cache-ttl = 1209600;
};
};
# TODO: moved to home-manager, verify this
# programs.gnupg.agent = {
# enable = true;
# pinentryPackage = pkgs.pinentry-curses;
# settings = {
# default-cache-ttl = 1209600;
# max-cache-ttl = 1209600;
# };
# };
programs.dconf.enable = true;
services.gnome.gnome-keyring.enable = true;
}