parent
e0026e16a5
commit
6702b22b98
12 changed files with 35 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue