diff options
| author | Franck Cuny <59291+fcuny@users.noreply.github.com> | 2025-02-07 08:48:54 -0800 |
|---|---|---|
| committer | Franck Cuny <59291+fcuny@users.noreply.github.com> | 2025-02-07 08:48:54 -0800 |
| commit | 9f2204ac425004471531e763508971f73172cb27 (patch) | |
| tree | 70b4088a33506f561fb6b6e4d16bc86d453b9060 | |
| parent | store all ssh sockets under the same path (diff) | |
| download | infra-9f2204ac425004471531e763508971f73172cb27.tar.gz | |
add more aliases for hashi
| -rw-r--r-- | nix/users/fcuny/work.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nix/users/fcuny/work.nix b/nix/users/fcuny/work.nix index e9b60eb..7db6748 100644 --- a/nix/users/fcuny/work.nix +++ b/nix/users/fcuny/work.nix @@ -20,7 +20,13 @@ shellAbbrs = { "ssh-sign-chi" = "${pkgs.hashi}/bin/hashi -e chi1 sign --output-path=/Users/fcuny/.ssh/cert-chi1 --key=(op read 'op://employee/default rbx ssh key/public key'|psub) key"; + "hashi-chi" = "${pkgs.hashi}/bin/hashi -e chi1 show v"; + "hashi-ash" = "${pkgs.hashi}/bin/hashi -e ash1 show v"; "pssh" = "ssh -J chi1-jumpcontainer-es -o 'CertificateFile=~/.ssh/cert-chi1'"; + "sjump" = "${pkgs.sapi}/bin/sapi jump"; }; }; + + # the configuration for sapi is generated when we run `sapi jump`, there's no need to manage it with nix. + programs.ssh.includes = [ "config_sapi" ]; } |
