소스 검색

using defaults for ssh sock as well

Zander Hawke 1 년 전
부모
커밋
3817a6d456
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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 = {