diff options
author | Silas Schöffel <sils@sils.li> | 2025-06-22 13:37:33 +0200 |
---|---|---|
committer | Silas Schöffel <sils@sils.li> | 2025-06-22 13:37:33 +0200 |
commit | ffa5fdfddf09bf6a5d643a2f21a335a399f4d7cd (patch) | |
tree | 8d3c0b125f95df0a3656b7f2a9ad0129242fdae5 /hm/gpg | |
parent | hyprland: supress update message (diff) | |
download | nix-config-ffa5fdfddf09bf6a5d643a2f21a335a399f4d7cd.zip |
gpg: disable agent
Diffstat (limited to 'hm/gpg')
-rw-r--r-- | hm/gpg/default.nix | 14 |
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 ""; #}; |