gpg: Fancy pinentry

This commit is contained in:
Geoffrey Frogeye 2024-01-26 00:23:52 +01:00
parent 59db464987
commit ca2dc262b7
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
2 changed files with 7 additions and 0 deletions

View file

@ -34,6 +34,10 @@
services.gpg-agent = {
enableBashIntegration = true;
enableZshIntegration = true;
pinentryFlavor = "gnome3";
# gnome3 is nicer, but requires gcr as a dbus package.
# Which is in my NixOS config, and on non-NixOS too.
# It will fall back to ncurses when running in non-graphics mode.
};
};
}

View file

@ -41,5 +41,8 @@
pulseaudio.enable = true;
# TODO Try pipewire
};
# So we can use gnome3 pinentry flavour
services.dbus.packages = [ pkgs.gcr ];
};
}