This commit is contained in:
Reid 2024-05-23 22:10:00 -07:00
parent ae0689bd24
commit f32d23295c
5 changed files with 40 additions and 3 deletions

View file

@ -0,0 +1,19 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.modules.software.tools.gpg;
in {
options.modules.software.tools.gpg = {
enable = mkEnableOption "Enable gnupg, an open pgp software";
};
config = mkIf cfg.enable {
hm.programs.gpg.enable = true;
hm.services.gpg-agent = {
enable = true;
pinentryPackage = pkgs.pinentry-gnome3;
};
};
}