mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 12:19:07 +00:00
shells: add environment for cloud admins
This commit is contained in:
parent
bc2e4ccf64
commit
5643321759
27
shells/cloud.nix
Normal file
27
shells/cloud.nix
Normal file
@ -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
|
@ -1,6 +1,7 @@
|
|||||||
{ pkgs ? import <nixpkgs> { } }:
|
{ pkgs ? import <nixpkgs> { } }:
|
||||||
|
|
||||||
with pkgs; {
|
with pkgs; {
|
||||||
|
cloud = callPackage ./cloud.nix { };
|
||||||
flatpak = callPackage ./flatpak.nix { };
|
flatpak = callPackage ./flatpak.nix { };
|
||||||
gnu = callPackage ./gnu.nix { };
|
gnu = callPackage ./gnu.nix { };
|
||||||
gnome = callPackage ./gnome.nix { };
|
gnome = callPackage ./gnome.nix { };
|
||||||
|
Loading…
Reference in New Issue
Block a user