1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-29 09:58:32 +02:00
home-manager/modules
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
..
lib Add basic directed acyclic graph data structure 2017-05-04 00:39:36 +02:00
misc gtk: fix bug in condition 2017-01-17 18:16:45 +01:00
programs ssh: add programs.ssh module 2017-05-13 11:41:38 +02:00
services redshift: add module 2017-01-20 19:26:52 +01:00
activation-init.sh Avoid undefined variables in activation script 2017-03-29 00:11:01 +02:00
default.nix ssh: add programs.ssh module 2017-05-13 11:41:38 +02:00
home-environment.nix home-environment: prevent overwriting existing files 2017-05-06 13:01:01 +02:00
manual.nix manual: add module 2017-01-15 23:42:48 +01:00
systemd.nix Add basic directed acyclic graph data structure 2017-05-04 00:39:36 +02:00
xresources.nix Improve a few description fields 2017-01-15 23:42:48 +01:00
xsession.nix xsession: make windowManager option required 2017-05-06 13:01:07 +02:00