diff --git a/home-manager/home.nix b/home-manager/home.nix index b528204..b8609aa 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -155,6 +155,8 @@ ]; }; + systemd.user.sessionVariables.SSH_AUTH_SOCK = "/run/user/1000/keyring/ssh"; + home.sessionVariables = { EDITOR = "nvim"; }; diff --git a/hosts/common/services.nix b/hosts/common/services.nix index beff406..ca09b4f 100644 --- a/hosts/common/services.nix +++ b/hosts/common/services.nix @@ -57,8 +57,6 @@ }; }; - systemd.user.sessionVariables.SSH_AUTH_SOCK = "/run/user/1000/keyring/ssh"; - # Open ports in the firewall. # networking.firewall.allowedTCPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ];