diff options
| author | Arpit Chakladar <arpitchakladar@gmail.com> | 2026-07-09 01:13:32 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpitchakladar@gmail.com> | 2026-07-09 01:13:32 +0530 |
| commit | 611c66868c6c82aa3ae3a5344f72506b2d715855 (patch) | |
| tree | 43dca7977b3f1eeec2e24f53fe89c6b9764b441b /modules/programs/ssh/default.nix | |
| parent | 3a6f2ce2a2334c514c5310aa58cab626775d3e01 (diff) | |
| download | home-manager-config-611c66868c6c82aa3ae3a5344f72506b2d715855.tar.gz home-manager-config-611c66868c6c82aa3ae3a5344f72506b2d715855.zip | |
refactor: refactor SSH module and move git host configs to dedicated submodule
Diffstat (limited to 'modules/programs/ssh/default.nix')
| -rw-r--r-- | modules/programs/ssh/default.nix | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/modules/programs/ssh/default.nix b/modules/programs/ssh/default.nix index 4b47256..7e8752a 100644 --- a/modules/programs/ssh/default.nix +++ b/modules/programs/ssh/default.nix @@ -7,6 +7,8 @@ # OpenSSH - Secure shell (SSH) client for encrypted remote connections { + imports = [ ./git.nix ]; + config = lib.mkIf config.programs.ssh.enable { programs.ssh = { package = pkgs.openssh; @@ -19,13 +21,6 @@ VisualHostKey = "yes"; HashKnownHosts = "yes"; }; - settings = { - "github.com" = { - hostname = "github.com"; - user = "git"; - identityFile = "${config.home.homeDirectory}/.ssh/github"; - }; - }; }; }; } |
