mirror of
https://github.com/nix-community/home-manager
synced 2025-02-23 08:35:08 +01:00
git: fix signer defaults
Co-authored-by: Mario Rodas <marsam@users.noreply.github.com>
This commit is contained in:
parent
a5bf30e355
commit
92963fa459
1 changed files with 3 additions and 3 deletions
|
@ -434,9 +434,9 @@ in {
|
|||
format = mkIf (versionOlder config.home.stateVersion "24.11")
|
||||
(mkOptionDefault "openpgp");
|
||||
signer = mkIf (cfg.signing.format != null) (mkOptionDefault {
|
||||
openpgp = getExe' pkgs.gnupg "gpg2";
|
||||
ssh = getExe pkgs.ssh;
|
||||
x509 = getExe' pkgs.gnupg "gpgsm";
|
||||
openpgp = getExe config.programs.gpg.package;
|
||||
ssh = getExe' pkgs.openssh "ssh-keygen";
|
||||
x509 = getExe' config.programs.gpg.package "gpgsm";
|
||||
}.${cfg.signing.format});
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue