summary refs log tree commit diff stats
path: root/users/sils/gpg
diff options
context:
space:
mode:
authorSilas Schöffel <sils@sils.li>2024-04-04 17:06:23 +0200
committerSilas Schöffel <sils@sils.li>2024-04-04 17:06:23 +0200
commit924ec30e7075ea7a9dbac569a537d876f9146850 (patch)
tree11ff56048f05536a1905490137333b3596d0ee18 /users/sils/gpg
parentusers/default.nix: delete (diff)
downloadnix-config-924ec30e7075ea7a9dbac569a537d876f9146850.tar.gz
nix-config-924ec30e7075ea7a9dbac569a537d876f9146850.zip
refactor: move users/sils dir to hm
Diffstat (limited to 'users/sils/gpg')
-rw-r--r--users/sils/gpg/default.nix26
1 files changed, 0 insertions, 26 deletions
diff --git a/users/sils/gpg/default.nix b/users/sils/gpg/default.nix
deleted file mode 100644
index aecb4d4..0000000
--- a/users/sils/gpg/default.nix
+++ /dev/null
@@ -1,26 +0,0 @@
-{
-  pkgs,
-  lib,
-  ...
-}: {
-  programs.gpg = {
-    enable = true;
-  };
-  services.gpg-agent = {
-    enable = true;
-    defaultCacheTtl = 60 * 5;
-    defaultCacheTtlSsh = 60 * 5;
-    pinentryPackage = pkgs.pinentry-curses;
-    enableSshSupport = true;
-    sshKeys = ["4077454831C98FE4BE4A9C167186C5A63615B790"];
-  };
-  programs.zsh.initExtraFirst = 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 "";
-  };
-}