Skip to content

Commit

Permalink
Add external SSH config
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinlyons committed Jan 6, 2024
1 parent 660155e commit 973de58
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions modules/shared/home-manager.nix
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,14 @@ let name = "Dustin Lyons";
enable = true;

extraConfig = lib.mkMerge [
(lib.mkIf pkgs.stdenv.hostPlatform.isLinux
''
Include /home/${user}/.ssh/config_external
'')
(lib.mkIf pkgs.stdenv.hostPlatform.isDarwin
''
Include /Users/${user}/.ssh/config_external
'')
''
Host github.com
Hostname github.com
Expand Down

0 comments on commit 973de58

Please sign in to comment.