From fd4894962d7d06617a685c4454e1bb547fcf629a Mon Sep 17 00:00:00 2001 From: Franck Cuny <59291+fcuny@users.noreply.github.com> Date: Fri, 31 Jan 2025 13:41:52 -0800 Subject: include SAPI's configuration if it's present --- nix/users/fcuny/ssh.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nix/users/fcuny/ssh.nix b/nix/users/fcuny/ssh.nix index 0ceb623..ca0baca 100644 --- a/nix/users/fcuny/ssh.nix +++ b/nix/users/fcuny/ssh.nix @@ -27,4 +27,7 @@ }; }; }; + + # if the configuration for SAPI exists, let's include it. + programs.ssh.includes = lib.optional (builtins.pathExists "/Users/fcuny/.ssh/config/config_sapi") "~/.ssh/config/config_sapi"; } -- cgit v1.2.3