summaryrefslogtreecommitdiff
path: root/modules/darwin/gnupg.nix
blob: d8b1cf15ecc6fdb4081dad5cfac604e6ecdf5fac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{ config, lib, ... }:
with lib;
let
  cfg = config.nixfiles.modules.gnupg;
in
{
  config = mkIf cfg.enable {
    programs.gnupg.agent = {
      enable = true;
      enableSSHSupport = true;
    };
  };
}