Move GnuPG install to system config

This commit is contained in:
Kiana Sheibani 2024-02-27 14:46:57 -05:00
parent afd799ac07
commit 1b305fa81c
2 changed files with 12 additions and 18 deletions

View file

@ -36,22 +36,4 @@
};
};
};
programs.gpg.enable = true;
programs.gpg.package = pkgs.gnupg.overrideAttrs (orig: {
version = "2.4.0";
src = pkgs.fetchurl {
url = "mirror://gnupg/gnupg/gnupg-2.4.0.tar.bz2";
hash = "sha256-HXkVjdAdmSQx3S4/rLif2slxJ/iXhOosthDGAPsMFIM=";
};
});
services.gpg-agent = {
enable = true;
enableSshSupport = true;
pinentryFlavor = "curses";
extraConfig = ''
allow-loopback-pinentry
'';
};
}