18 lines
321 B
Nix
18 lines
321 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
|
||
|
{
|
||
|
config = lib.mkIf config.nathan.programs.util.gpg {
|
||
|
programs.gpg = {
|
||
|
enable = true;
|
||
|
};
|
||
|
services.gpg-agent = {
|
||
|
enable = true;
|
||
|
enableSshSupport = true;
|
||
|
enableExtraSocket = true;
|
||
|
extraConfig = ''
|
||
|
allow-emacs-pinentry
|
||
|
'';
|
||
|
};
|
||
|
};
|
||
|
}
|