From 346164ba1d8fcec0ee986bed91ee9b6b473292cb Mon Sep 17 00:00:00 2001 From: lassulus Date: Sat, 15 Jan 2022 12:22:35 +0100 Subject: l yubikey: access remote builders via yubikey --- lass/2configs/yubikey.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lass/2configs') diff --git a/lass/2configs/yubikey.nix b/lass/2configs/yubikey.nix index a53f55016..4ac21caac 100644 --- a/lass/2configs/yubikey.nix +++ b/lass/2configs/yubikey.nix @@ -55,6 +55,9 @@ fi ''; + # allow nix to acces remote builders via yubikey + systemd.services.nix-daemon.environment.SSH_AUTH_SOCK = "/run/user/1337/gnupg/S.gpg-agent.ssh"; + programs = { ssh.startAgent = false; gnupg.agent = { -- cgit v1.2.3