mirror of
https://github.com/nix-community/home-manager.git
synced 2026-10-31 01:02:22 +00:00
The RFC 42 settings option derives the Host/Match line from the attribute name. That makes it impossible to express headers that carry Nix string context (e.g. Match exec referring to a store path), and forces long computed patterns into attribute names where a stable logical name would be nicer for dag ordering. Add an explicit `header` option on each block that defaults to the attribute name (with the existing Host/Match prefix detection), and have the legacy matchBlocks shim populate it instead of the __hmSshBlockHeader internal.
9 lines
195 B
Plaintext
9 lines
195 B
Plaintext
Match exec "/nix/store/9znzy4h4xnxn8jg9xw6nipd3zvp1pw6y-predicate"
|
|
IdentityFile ~/.ssh/id_ed25519_sk
|
|
|
|
Host foo foo-tmux bar bar-tmux
|
|
ForwardAgent yes
|
|
|
|
Host *-tmux
|
|
RemoteCommand tmux attach
|