aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilas Schöffel <sils@sils.li>2025-06-22 13:37:33 +0200
committerSilas Schöffel <sils@sils.li>2025-06-22 13:37:33 +0200
commitffa5fdfddf09bf6a5d643a2f21a335a399f4d7cd (patch)
tree8d3c0b125f95df0a3656b7f2a9ad0129242fdae5
parenthyprland: supress update message (diff)
downloadnix-config-ffa5fdfddf09bf6a5d643a2f21a335a399f4d7cd.zip
gpg: disable agent
-rw-r--r--hm/gpg/default.nix14
1 files changed, 7 insertions, 7 deletions
diff --git a/hm/gpg/default.nix b/hm/gpg/default.nix
index 3acf94c..8bbfb22 100644
--- a/hm/gpg/default.nix
+++ b/hm/gpg/default.nix
@@ -7,7 +7,7 @@
enable = true;
};
services.gpg-agent = {
- enable = true;
+ enable = false;
defaultCacheTtl = 60 * 50;
defaultCacheTtlSsh = 60 * 50;
maxCacheTtl = 60 * 50;
@@ -16,12 +16,12 @@
enableSshSupport = true;
sshKeys = ["4077454831C98FE4BE4A9C167186C5A63615B790"];
};
- programs.zsh.initContent = lib.mkBefore ''
- current_tty="$(tty)"
- tty() { echo "$current_tty"; }
- SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
- gpg-connect-agent /bye
- '';
+ #programs.zsh.initContent = lib.mkBefore ''
+ # current_tty="$(tty)"
+ # tty() { echo "$current_tty"; }
+ # SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
+ # gpg-connect-agent /bye
+ #'';
#home.sessionVariables = {
# GNUPGHOME = lib.mkForce "";
#};