mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 07:00:48 +00:00
bce262e46e
This module generates a `.ssh/config` file. This doesn't embed _all_ options for the ssh client, but the most common ones should be there. Example usage: ```nix programs.ssh = { enable = true; forwardAgent = true; controlMaster = "auto"; matchBlocks = [ { host = "something.blah.edu"; port = 1024; user = "cleague"; identitiesOnly = true; } { host = "host1 host2 host2.net host2.com"; port = 7422; hostname = "example.com"; serverAliveInterval = 60; } { host = "lucian"; forwardX11 = true; forwardX11Trusted = true; checkHostIP = false; }; }; }; ``` Each entry in `programs.ssh.matchBlocks` must contain a `host` field, which will be used for the block condition. |
||
---|---|---|
.. | ||
bash.nix | ||
beets.nix | ||
eclipse.nix | ||
emacs.nix | ||
firefox.nix | ||
git.nix | ||
gnome-terminal.nix | ||
lesspipe.nix | ||
ssh.nix | ||
texlive.nix |