summaryrefslogtreecommitdiff
path: root/home/gpg.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home/gpg.nix')
-rw-r--r--home/gpg.nix27
1 files changed, 0 insertions, 27 deletions
diff --git a/home/gpg.nix b/home/gpg.nix
deleted file mode 100644
index 9117c1f..0000000
--- a/home/gpg.nix
+++ /dev/null
@@ -1,27 +0,0 @@
-{ config, lib, pkgs, ... }:
-with lib; {
- config = mkIf (!config.home.isolation.active) {
- programs.gpg = {
- enable = true;
- scdaemonSettings.disable-ccid = true;
- };
-
- services.gpg-agent = {
- enable = true;
-
- enableBashIntegration = true;
- enableZshIntegration = true;
-
- enableExtraSocket = true;
- enableSshSupport = true;
-
- defaultCacheTtl = 3600 * 3;
- defaultCacheTtlSsh = 3600 * 3;
-
- maxCacheTtl = 3600 * 6;
- maxCacheTtlSsh = 3600 * 6;
-
- pinentryPackage = pkgs.pinentry-gtk2;
- };
- };
-}