Kaynağa Gözat

using defaults for ssh sock as well

Zander Hawke 1 yıl önce
ebeveyn
işleme
3817a6d456
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      users/thomas/cli/ssh.nix

+ 2 - 2
users/thomas/cli/ssh.nix

@@ -1,10 +1,10 @@
-{ config, ... }:
+{ config, lib, ... }:
 let
   configHome = "${config.xdg.configHome}/gnupg";
 in
 {
   home.sessionVariables = {
-    SSH_AUTH_SOCK = "${configHome}/S.gpg-agent.ssh";
+    SSH_AUTH_SOCK = lib.mkDefault "${configHome}/S.gpg-agent.ssh";
   };
 
   programs.ssh = {