From 90f73569ea5e1e91fe436e31abfc77997f3ffde4 Mon Sep 17 00:00:00 2001 From: "Casper V. Kristensen" Date: Wed, 25 Oct 2023 13:10:43 +0200 Subject: [PATCH] mu: easier saltmaster --- hosts/mu/fish.nix | 2 +- hosts/mu/packages.nix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hosts/mu/fish.nix b/hosts/mu/fish.nix index ab0cd61..94ed147 100644 --- a/hosts/mu/fish.nix +++ b/hosts/mu/fish.nix @@ -1,7 +1,7 @@ { home-manager, ... }: { home-manager.users.caspervk = { programs.fish.shellAliases = { - sm = "gcloud --project magenta-os2mo-production compute ssh --tunnel-through-iap saltmaster"; + sm = "bw get totp e2be31fb-135f-4b28-88cd-b094000ddb67 | wl-copy; gcloud --project magenta-os2mo-production compute ssh --tunnel-through-iap saltmaster"; }; }; } diff --git a/hosts/mu/packages.nix b/hosts/mu/packages.nix index 3b41d60..9701472 100644 --- a/hosts/mu/packages.nix +++ b/hosts/mu/packages.nix @@ -1,6 +1,7 @@ { pkgs, ... }: { environment.systemPackages = with pkgs; [ azure-cli + bitwarden-cli fluxcd (google-cloud-sdk.withExtraComponents [ google-cloud-sdk.components.gke-gcloud-auth-plugin