aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nix/users/fcuny/work.nix6
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" ];
}