home-manager/modules/programs
zimbatm b535770bd4
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.

(cherry picked from commit 40b279e3a3)
2018-12-06 00:31:53 +01:00
..
command-not-found command-not-found: add module 2017-09-27 09:49:32 +02:00
afew.nix afew: add module 2018-11-18 23:47:45 +01:00
alot-accounts.nix Revert PR #408 2018-11-12 21:59:11 +01:00
alot.nix alot: add module 2018-09-28 23:43:40 +02:00
astroid-accounts.nix astroid: add module 2018-11-18 19:55:28 +01:00
astroid-config-template.json astroid: add module 2018-11-18 19:55:28 +01:00
astroid.nix astroid: require notmuch synchronize flags 2018-11-25 13:53:45 +01:00
autorandr.nix autorandr: add rotate option 2018-06-26 21:17:54 +02:00
bash.nix bash: fix bashrcExtra interactive shell test 2018-09-26 18:18:57 +02:00
beets.nix use xdg.configFile for files in XDG config home 2017-10-29 01:59:34 +02:00
browserpass.nix browserpass: add module (#16) 2017-06-30 22:45:09 +02:00
chromium.nix chromium: parseDrvName quick fix 2018-08-22 23:13:54 +02:00
direnv.nix Use preferLocalBuild with runCommand 2018-11-14 20:59:45 +01:00
eclipse.nix eclipse: add option enableLombok 2018-01-09 22:03:13 +01:00
emacs.nix emacs: add internal finalPackage option 2018-09-11 21:23:11 +02:00
feh.nix use xdg.configFile for files in XDG config home 2017-10-29 01:59:34 +02:00
firefox.nix firefox: add enableIcedTea option 2017-10-21 12:09:39 +02:00
fish.nix fish: minor formatting fixes 2018-09-09 21:18:39 +02:00
fzf.nix fzf: only enable when line editing is available 2018-10-30 00:17:09 +01:00
git.nix git: add 'includes' option 2018-04-19 17:45:09 +02:00
gnome-terminal.nix Add dag library to config.lib 2017-12-26 17:27:21 +01:00
go.nix go: Fix package example 2018-09-21 09:46:11 +02:00
home-manager.nix home-manager: remove uninstall activation phase 2018-11-04 09:58:00 +01:00
htop.nix use xdg.configFile for files in XDG config home 2017-10-29 01:59:34 +02:00
info.nix Parametrize path to profile directory 2018-07-31 16:04:19 +02:00
lesspipe.nix Mark rycee as maintainer for a bunch of modules 2017-09-26 23:40:31 +02:00
man.nix man: install man, not man-db 2017-10-18 00:33:31 +02:00
mbsync-accounts.nix mbsync: add option to add extra account configuration 2018-10-03 13:35:04 -05:00
mbsync.nix mbsync: add option to add extra account configuration 2018-10-03 13:35:04 -05:00
mercurial.nix mercurial: add module 2018-02-02 20:52:54 +01:00
msmtp-accounts.nix msmtp: add module 2018-08-21 00:22:51 +02:00
msmtp.nix Revert PR #408 2018-11-12 21:59:11 +01:00
neovim.nix neovim: support new extraPython*Packages options 2018-09-09 22:09:00 +02:00
newsboat.nix newsboat: remove unnecessary period 2018-06-09 11:40:49 +02:00
noti.nix noti: add module 2018-09-20 21:26:55 +02:00
notmuch-accounts.nix Use submodules for program email accounts 2018-08-16 21:37:42 +02:00
notmuch.nix notmuch: add maildir.synchronizeFlags option 2018-11-25 13:33:30 +01:00
obs-studio.nix Use preferLocalBuild with runCommand 2018-11-14 20:59:45 +01:00
offlineimap-accounts.nix offlineimap: add an extraConfig for the account section 2018-11-19 23:57:58 +01:00
offlineimap.nix offlineimap: add an extraConfig for the account section 2018-11-19 23:57:58 +01:00
pidgin.nix pidgin: add module 2018-02-19 22:57:50 +01:00
rofi.nix rofi: set configPath defaultText to avoid rebuilds 2018-10-12 10:52:41 +02:00
ssh.nix ssh: tweak default controlPath 2018-12-06 00:31:53 +01:00
taskwarrior.nix taskwarrior: add module 2018-09-18 23:31:37 +02:00
termite.nix termite: setup the shell hook 2018-12-06 00:31:13 +01:00
texlive.nix texlive: add option programs.texlive.package 2018-03-05 19:05:30 +01:00
tmux.nix tmux: add module 2018-11-14 00:08:39 +01:00
urxvt.nix urxvt: add module 2018-10-20 11:35:39 +02:00
vim.nix vim: remove deprecated options 2018-10-20 13:13:19 +02:00
zathura.nix Correct spelling mistakes 2018-10-02 22:41:08 +02:00
zsh.nix Parametrize path to profile directory 2018-07-31 16:04:19 +02:00