mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 04:48:13 +09:00
17 lines
287 B
Nix
17 lines
287 B
Nix
{ lib, config, ... }:
|
|
let
|
|
cfg = config.my.applications.gnupg;
|
|
in
|
|
{
|
|
options.my.applications.gnupg = {
|
|
enable = lib.mkEnableOption "GnuPG agent";
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
programs.gnupg.agent = {
|
|
enable = true;
|
|
enableSSHSupport = false;
|
|
};
|
|
};
|
|
}
|