15 lines
273 B
Nix
15 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;
|
||
|
};
|
||
|
};
|
||
|
}
|