From 086298efa354216ee821b84c8558eef882bc6913 Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Wed, 21 Aug 2024 11:31:00 +0200 Subject: [PATCH] ssh: include host-local config file if available --- home/dln/home.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/home/dln/home.nix b/home/dln/home.nix index 3c5e467..53efd83 100644 --- a/home/dln/home.nix +++ b/home/dln/home.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ config, pkgs, ... }: let realName = "Daniel Lundin"; email = "dln@arity.se"; @@ -138,6 +138,10 @@ in }; }; + programs.ssh.extraConfig = '' + Include ${config.home.homeDirectory}/.ssh/config_local + ''; + programs.ssh.matchBlocks = { dev = { hostname = "10.1.100.16";