1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-29 01:48:31 +02:00
home-manager/modules/programs
Christopher League bce262e46e
ssh: add programs.ssh module
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.
2017-05-13 11:41:38 +02:00
..
bash.nix pam: add module 2017-01-16 23:54:45 +01:00
beets.nix Improve a few description fields 2017-01-15 23:42:48 +01:00
eclipse.nix Initial import 2017-01-14 13:15:24 +01:00
emacs.nix Initial import 2017-01-14 13:15:24 +01:00
firefox.nix firefox: add module 2017-01-15 23:42:46 +01:00
git.nix git: remove default signing key 2017-02-12 10:02:06 +01:00
gnome-terminal.nix gnome-terminal: use attrsOf rather than loaOf 2017-05-10 00:20:15 +02:00
lesspipe.nix Initial import 2017-01-14 13:15:24 +01:00
ssh.nix ssh: add programs.ssh module 2017-05-13 11:41:38 +02:00
texlive.nix Initial import 2017-01-14 13:15:24 +01:00