| 1234567891011121314151617181920212223242526272829 |
- { config, ... }:
- let
- inherit (config.xdg) configHome;
- in
- {
- home.sessionVariables = {
- SSH_AUTH_SOCK = "${configHome}/gnupg/S.gpg-agent.ssh";
- };
- programs.ssh = {
- enable = true;
- compression = true;
- forwardAgent = true;
- extraConfig = ''
- StreamLocalBindUnlink yes
- '';
- matchBlocks = {
- modgud = {
- hostname = "modgud.t5.st";
- user = "thomas";
- };
- "github.com".user = "git";
- github.hostname = "github.com";
- };
- };
- }
|