Switch to pinentry-qt for graphical envs

This commit is contained in:
alejandro-angulo 2024-08-03 22:54:39 -07:00
parent df62cf69ac
commit 0d516a3a2d
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6

View file

@ -32,7 +32,10 @@ in {
# see here: https://github.com/nix-community/home-manager/issues/3864
services.gpg-agent = mkIf (system == "x86_64-linux") {
enable = true;
pinentryPackage = pkgs.pinentry-curses;
pinentryPackage =
if config.${namespace}.windowManagers.sway.enable
then pkgs.pinentry-qt
else pkgs.pinentry-curses;
enableZshIntegration = true;
enableSshSupport = true;
sshKeys = [