diff options
Diffstat (limited to '')
-rw-r--r-- | modules/darwin/gnupg.nix | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/modules/darwin/gnupg.nix b/modules/darwin/gnupg.nix index 073d3b1..d8b1cf1 100644 --- a/modules/darwin/gnupg.nix +++ b/modules/darwin/gnupg.nix @@ -1,11 +1,9 @@ -{ - config, - lib, - ... -}: -with lib; let +{ config, lib, ... }: +with lib; +let cfg = config.nixfiles.modules.gnupg; -in { +in +{ config = mkIf cfg.enable { programs.gnupg.agent = { enable = true; |