Compare commits

..

No commits in common. "17da77f1c3576f83543513ccadb7f2bd75abd253" and "0bbb789be91732c7481dd03646fc50f3eb0b1b68" have entirely different histories.

2 changed files with 1 additions and 2 deletions

View File

@ -2,7 +2,7 @@
# or security.sudo.extraRules instead.
# Set editor to nvim
Defaults editor=${pkgs.neovim}/bin/nvim
Defaults editor=/run/current-system/sw/bin/nvim
# Keep SSH_AUTH_SOCK so that pam_ssh_agent_auth.so can do its magic.
Defaults env_keep+=SSH_AUTH_SOCK

View File

@ -80,7 +80,6 @@ in
};
# user environment variables
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";
};
};