os/users/hensoko/session-variables.nix

13 lines
291 B
Nix

{ config, pkgs, ... }:
let
psCfg = config.pub-solar;
xdg = config.home-manager.users."${psCfg.user.name}".xdg;
in
{
home-manager = pkgs.lib.setAttrByPath [ "users" psCfg.user.name ] {
home.sessionVariables = {
"SSH_AUTH_SOCK" = "\${XDG_RUNTIME_DIR}/ssh-agent";
};
};
}