programs.ssh.matchBlocks
Specify per-host settings. Note, if the order of rules matter then use the DAG functions to express the dependencies as shown in the example.
See ssh_config(5) for more information.
- Type
DAG of submodule- Default
{ }- Example
{ "john.example.com" = { hostname = "example.com"; user = "john"; }; foo = lib.hm.dag.entryBefore ["john.example.com"] { hostname = "example.com"; identityFile = "/home/john/.ssh/foo_rsa"; }; };- Declared
- <home-manager/modules/programs/ssh.nix>