Fix wrong pinentry package being used
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 0s
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 0s
This commit is contained in:
parent
91499636dd
commit
48f307de76
1 changed files with 8 additions and 1 deletions
|
@ -35,7 +35,14 @@ in
|
|||
services.gpg-agent = mkIf (system == "x86_64-linux") {
|
||||
enable = true;
|
||||
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;
|
||||
enableSshSupport = true;
|
||||
sshKeys = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue