Fix wrong pinentry package being used
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 0s

This commit is contained in:
alejandro-angulo 2025-08-30 22:21:29 -07:00
parent 91499636dd
commit 48f307de76
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6

View file

@ -35,7 +35,14 @@ in
services.gpg-agent = mkIf (system == "x86_64-linux") { services.gpg-agent = mkIf (system == "x86_64-linux") {
enable = true; enable = true;
pinentry.package = pinentry.package =
if config.${namespace}.windowManagers.sway.enable then pkgs.pinentry-qt else pkgs.pinentry-curses; if
(
config.${namespace}.windowManagers.sway.enable || config.${namespace}.windowManagers.hyprland.enable
)
then
pkgs.pinentry-qt
else
pkgs.pinentry-curses;
enableZshIntegration = true; enableZshIntegration = true;
enableSshSupport = true; enableSshSupport = true;
sshKeys = [ sshKeys = [