ssh: include host-local config file if available
This commit is contained in:
parent
3730825295
commit
086298efa3
1 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
let
|
let
|
||||||
realName = "Daniel Lundin";
|
realName = "Daniel Lundin";
|
||||||
email = "dln@arity.se";
|
email = "dln@arity.se";
|
||||||
|
@ -138,6 +138,10 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.ssh.extraConfig = ''
|
||||||
|
Include ${config.home.homeDirectory}/.ssh/config_local
|
||||||
|
'';
|
||||||
|
|
||||||
programs.ssh.matchBlocks = {
|
programs.ssh.matchBlocks = {
|
||||||
dev = {
|
dev = {
|
||||||
hostname = "10.1.100.16";
|
hostname = "10.1.100.16";
|
||||||
|
|
Loading…
Reference in a new issue