Add source for builting envs

This commit is contained in:
RealStickman 2023-05-05 12:56:17 +02:00 committed by exu
parent 7f6166641e
commit ff1d76b0f3

View File

@ -80,6 +80,7 @@ in
}; };
# user environment variables # user environment variables
sessionVariables = { sessionVariables = {
# see https://discourse.nixos.org/t/how-to-use-xdg-runtime-dir-in-pam-sessionvariables/10120/3 about the builtin variable
SSH_AUTH_SOCK = "${builtins.getEnv"XDG_RUNTIME_DIR"}/ssh-agent.socket"; SSH_AUTH_SOCK = "${builtins.getEnv"XDG_RUNTIME_DIR"}/ssh-agent.socket";
}; };
}; };