diff options
Diffstat (limited to '')
| -rw-r--r-- | home/environ/gpg.nix (renamed from home/gpg.nix) | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/home/gpg.nix b/home/environ/gpg.nix index 9117c1f..dd58181 100644 --- a/home/gpg.nix +++ b/home/environ/gpg.nix @@ -1,6 +1,9 @@ { config, lib, pkgs, ... }: -with lib; { - config = mkIf (!config.home.isolation.active) { +with lib; let + cfg = config.local.environ; +in +{ + config = mkIf cfg.enable { programs.gpg = { enable = true; scdaemonSettings.disable-ccid = true; |
