From 9e1a3be91266fb1d48b084464a85b6920ef922d3 Mon Sep 17 00:00:00 2001 From: janis Date: Wed, 3 Sep 2025 04:31:55 +0200 Subject: [PATCH] ssh agent fix --- home/default.nix | 1 + home/emacs.nix | 1 + user/default.nix | 3 +++ 3 files changed, 5 insertions(+) diff --git a/home/default.nix b/home/default.nix index ca85046..a5e2483 100644 --- a/home/default.nix +++ b/home/default.nix @@ -63,6 +63,7 @@ in { shell.enableZshIntegration = true; sessionVariables = { + SSH_AUTH_SOCK = "/run/user/1000/ssh-agent"; EDITOR = "nvim"; VISUAL = "nvim"; GTK_THEME = "Breeze-Dark"; diff --git a/home/emacs.nix b/home/emacs.nix index 9623326..5df14d2 100644 --- a/home/emacs.nix +++ b/home/emacs.nix @@ -14,6 +14,7 @@ in { enchant2 # spell checking enchant2.dev # for building jinx pkg-config + git ripgrep # for Emacs' ripgrep integration libvterm-neovim # vterm support for Emacs nodejs_24 diff --git a/user/default.nix b/user/default.nix index 55fcac5..09e1c28 100644 --- a/user/default.nix +++ b/user/default.nix @@ -17,6 +17,9 @@ in { programs.zsh.enable = true; programs.dconf.enable = true; + programs.ssh = { + startAgent = true; + }; services = { udisks2.enable = true;