From 9f2204ac425004471531e763508971f73172cb27 Mon Sep 17 00:00:00 2001 From: Franck Cuny <59291+fcuny@users.noreply.github.com> Date: Fri, 7 Feb 2025 08:48:54 -0800 Subject: add more aliases for hashi --- nix/users/fcuny/work.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'nix/users/fcuny/work.nix') 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" ]; } -- cgit v1.2.3