aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranck Cuny <59291+fcuny@users.noreply.github.com>2025-01-31 13:41:52 -0800
committerFranck Cuny <59291+fcuny@users.noreply.github.com>2025-01-31 13:41:52 -0800
commitfd4894962d7d06617a685c4454e1bb547fcf629a (patch)
tree47ec236d52ba2b65b4ef3478d3bbf5f69633f313
parentinclude all the keys in the vault (diff)
downloadinfra-fd4894962d7d06617a685c4454e1bb547fcf629a.tar.gz
include SAPI's configuration if it's present
-rw-r--r--nix/users/fcuny/ssh.nix3
1 files changed, 3 insertions, 0 deletions
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";
}