about summary refs log tree commit diff
path: root/modules/darwin/gnupg.nix
blob: 073d3b12a22dc2480658d1940abcf8a2d5447c36 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
  config,
  lib,
  ...
}:
with lib; let
  cfg = config.nixfiles.modules.gnupg;
in {
  config = mkIf cfg.enable {
    programs.gnupg.agent = {
      enable = true;
      enableSSHSupport = true;
    };
  };
}

Consider giving Nix/NixOS a try! <3