From 807f274d0b236a3a15bb049ed37110a0751b82cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Czy=C5=BC?= Date: Mon, 22 Apr 2024 17:42:39 +0200 Subject: [PATCH] ssh auth --- home-manager/home.nix | 1 + hosts/common/services.nix | 2 ++ 2 files changed, 3 insertions(+) diff --git a/home-manager/home.nix b/home-manager/home.nix index c831fc7..b528204 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -143,6 +143,7 @@ docker docker-compose + gnome.seahorse ]; services.gnome-keyring = { diff --git a/hosts/common/services.nix b/hosts/common/services.nix index ca09b4f..e390469 100644 --- a/hosts/common/services.nix +++ b/hosts/common/services.nix @@ -57,6 +57,8 @@ }; }; + systemd.user.sessionVariables.SSH_AUTH_SOCK = "/run/user/1000/keyring/ssh" + # Open ports in the firewall. # networking.firewall.allowedTCPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ];