blob: f17ef2f51507dab7c2ab930a07069fc600ca8602 [file] [log] [blame]
{
config,
lib,
pkgs,
...
}:
{
options.chimera.gpg = {
enable = lib.mkEnableOption "Enable gpg";
};
config = lib.mkIf config.chimera.gpg.enable {
programs.gpg.enable = true;
services.gpg-agent = {
enable = true;
pinentryFlavor = "curses";
enableZshIntegration = config.chimera.shell.zsh.enable;
enableBashIntegration = config.chimera.shell.bash.enable;
};
};
}