summaryrefslogtreecommitdiffstats
path: root/lass/2configs
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2022-01-15 12:22:35 +0100
committerlassulus <lassulus@lassul.us>2022-01-15 12:22:35 +0100
commit346164ba1d8fcec0ee986bed91ee9b6b473292cb (patch)
treee0b53621875572e08ee933d4e51ed10cef49addd /lass/2configs
parent712ee76c04de0f4c2f04da5a17d9330fb1952324 (diff)
l yubikey: access remote builders via yubikey
Diffstat (limited to 'lass/2configs')
-rw-r--r--lass/2configs/yubikey.nix3
1 files changed, 3 insertions, 0 deletions
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 = {