mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01: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. |
||
---|---|---|
.. | ||
lib | ||
misc | ||
programs | ||
services | ||
activation-init.sh | ||
default.nix | ||
home-environment.nix | ||
manual.nix | ||
systemd.nix | ||
xresources.nix | ||
xsession.nix |