system/modules/nixos/services/gnupg.nix

14 lines
273 B
Nix

{ config, lib, ... }:
{
options.local.services.gnupg = with lib; {
enable = mkEnableOption "gnupg service";
};
config = lib.mkIf config.local.services.gnupg.enable {
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
};
}