diff --git a/shells/cloud.nix b/shells/cloud.nix new file mode 100644 index 00000000..bc2f9092 --- /dev/null +++ b/shells/cloud.nix @@ -0,0 +1,27 @@ +# All-encompassing environment for cloud platform management. I'm using only +# one so far but apparently these providers have some tool to enable easy +# access and usage for their platform. +# +# The reason why we have these with a light sandbox is for more sophiscated +# tools like in Google Cloud SDK. +{ buildFHSUserEnv }: + +(buildFHSUserEnv { + name = "cloud-admin-env"; + targetPkgs = pkgs: (with pkgs; [ + awscli2 + azure-cli + (google-cloud-sdk.withExtraComponents + (with google-cloud-sdk.components; [ + gke-gcloud-auth-plugin + gcloud-man-pages + cloud-run-proxy + ]) + ) + kubectl + hcloud + linode-cli + vultr-cli + python3 + ]); +}).env diff --git a/shells/default.nix b/shells/default.nix index 35935dac..3d46e0ed 100644 --- a/shells/default.nix +++ b/shells/default.nix @@ -1,6 +1,7 @@ { pkgs ? import { } }: with pkgs; { + cloud = callPackage ./cloud.nix { }; flatpak = callPackage ./flatpak.nix { }; gnu = callPackage ./gnu.nix { }; gnome = callPackage ./gnome.nix { };