From b123e5378c63baf84d7f2bd02f9b3052c42ccc2e Mon Sep 17 00:00:00 2001 From: Alexander Bantyev Date: Mon, 2 Mar 2020 01:02:06 +0300 Subject: [PATCH] Update modules/workspace/ssh.nix --- modules/workspace/ssh.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/workspace/ssh.nix b/modules/workspace/ssh.nix index d087cea..82af804 100644 --- a/modules/workspace/ssh.nix +++ b/modules/workspace/ssh.nix @@ -12,11 +12,11 @@ services.udev.packages = [ pkgs.yubikey-personalization ]; + home-manager.users.balsoft.home.sessionVariables.SSH_AUTH_SOCK = "/run/user/1000/gnupg/S.gpg-agent.ssh"; environment.shellInit = '' export GPG_TTY="$(tty)" gpg-connect-agent /bye - export SSH_AUTH_SOCK="/run/user/$UID/gnupg/S.gpg-agent.ssh" ''; home-manager.users.balsoft.home.file.".gnupg/scdaemon.conf".text = "reader-port Yubico Yubi";