diff options
| author | Franck Cuny <59291+fcuny@users.noreply.github.com> | 2025-01-31 13:41:52 -0800 |
|---|---|---|
| committer | Franck Cuny <59291+fcuny@users.noreply.github.com> | 2025-01-31 13:41:52 -0800 |
| commit | fd4894962d7d06617a685c4454e1bb547fcf629a (patch) | |
| tree | 47ec236d52ba2b65b4ef3478d3bbf5f69633f313 /nix | |
| parent | include all the keys in the vault (diff) | |
| download | infra-fd4894962d7d06617a685c4454e1bb547fcf629a.tar.gz | |
include SAPI's configuration if it's present
Diffstat (limited to 'nix')
| -rw-r--r-- | nix/users/fcuny/ssh.nix | 3 |
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"; } |
