ssh: install an ssh client

Fixes #3667
This commit is contained in:
George Macon 2023-02-10 15:55:17 -05:00 committed by Robert Helgesson
parent e0026e16a5
commit 6702b22b98
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
12 changed files with 35 additions and 1 deletions

View file

@ -361,6 +361,8 @@ in
options.programs.ssh = {
enable = mkEnableOption "SSH client configuration";
package = mkPackageOption pkgs "openssh" { };
forwardAgent = mkOption {
default = false;
type = types.bool;
@ -525,6 +527,8 @@ in
}
];
home.packages = [ cfg.package ];
home.file.".ssh/config".text =
let
sortedMatchBlocks = hm.dag.topoSort cfg.matchBlocks;