1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-30 02:18:32 +02:00
home-manager/modules
zimbatm 40b279e3a3
ssh: tweak default controlPath
Instead of using the hostname `%h`, which can be changed by the
~/.ssh/config file, use the commandline-given hostname `%n`.

This allows to alias a host with different hostnames, which then point
to different configurations. A common use-case for this is if you have
multiple accounts on github with each access to different private repos:

    Host github.com
      IdentitiesOnly yes
      User git
      IdentityFile ~/.ssh/id_rsa

    Host customer.github.com
      IdentitiesOnly yes
      User git
      IdentityFile ~/.ssh/customer
      HostName github.com

Without this change, if a connection was established with the first
github.com alias, then the user would try to pull a repo from the second
account, ssh would re-use the SSH connection which doesn't have access
to that repository.
2018-11-30 00:13:50 +01:00
..
accounts astroid: add module 2018-11-18 19:55:28 +01:00
lib files: add onChange option 2018-07-27 22:07:12 +02:00
lib-bash activation-init: sanity check oldGenNum and oldGenPath 2018-03-13 20:49:45 +01:00
misc vscode: add module 2018-11-26 00:01:01 +01:00
programs ssh: tweak default controlPath 2018-11-30 00:13:50 +01:00
services keybase: install the keybase package 2018-11-29 00:51:58 +01:00
default.nix modules core: move modules list to own file 2017-11-24 21:58:16 +01:00
files.nix Avoid substitution for some derivations 2018-07-31 21:16:36 +02:00
home-environment.nix home-environment: add option home.extraProfileCommands 2018-09-14 21:08:51 +02:00
manual.nix manual: add HTML manual 2018-05-18 23:22:03 +02:00
modules.nix vscode: add module 2018-11-26 00:01:01 +01:00
systemd-activate.rb systemd: improve comments 2018-05-09 16:22:02 +02:00
systemd-activate.sh allow Home Manager to be used as a NixOS module 2018-02-07 20:50:01 +01:00
systemd.nix systemd: add more detail to user unit documentation 2018-10-18 23:39:28 +02:00
xcursor.nix xcursor: add default cursor file option 2018-05-10 20:26:01 +02:00
xresources.nix xresources: remove unnecessary parentheses 2018-09-24 23:24:04 +02:00
xsession.nix xsession: add option xsession.scriptPath 2018-09-19 23:33:13 +02:00