blob: 475c0a93d2145a958d1f59e92ff13c86347b186f [file] [log] [blame]
Skyler Grey695fa632024-02-17 22:45:41 +00001{
2 config,
3 lib,
4 pkgs,
5 ...
6}:
7{
8 options.chimera.gpg = {
9 enable = lib.mkEnableOption "Enable gpg";
10 };
11
12 config = lib.mkIf config.chimera.gpg.enable {
13 programs.gpg.enable = true;
14 services.gpg-agent = {
15 enable = true;
Samuel Shuertb3c6ca72024-02-20 22:51:42 +000016 pinentryFlavor = "tty";
Skyler Grey695fa632024-02-17 22:45:41 +000017 enableZshIntegration = config.chimera.shell.zsh.enable;
18 enableBashIntegration = config.chimera.shell.bash.enable;
19 };
20 };
21}