system/modules/nixos/services/gnupg.nix

15 lines
273 B
Nix
Raw Permalink Normal View History

2024-04-16 02:51:46 +03:00
{ 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;
};
};
}