Browse Source

using defaults for ssh sock as well

Zander Hawke 1 năm trước cách đây
mục cha
commit
3817a6d456
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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 = {