fix(gpg): fix password requests when signing with SSH keys
This commit is contained in:
@@ -11,10 +11,7 @@ in {
|
|||||||
enable = mkEnableOption "Enable GPG";
|
enable = mkEnableOption "Enable GPG";
|
||||||
pinentry.package = mkOption {
|
pinentry.package = mkOption {
|
||||||
type = types.package;
|
type = types.package;
|
||||||
default =
|
default = pkgs.pinentry-gnome3;
|
||||||
if config.home.dev.editors.emacs.enable
|
|
||||||
then pkgs.pinentry-emacs
|
|
||||||
else pkgs.pinentry-gtk2;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
@@ -25,7 +22,7 @@ in {
|
|||||||
};
|
};
|
||||||
services.gpg-agent = {
|
services.gpg-agent = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableSshSupport = true;
|
enableSshSupport = false;
|
||||||
pinentry.package = cfg.pinentry.package;
|
pinentry.package = cfg.pinentry.package;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user