diff --git a/home/echidna.nix b/home/echidna.nix index 2ee47a0..b5e5025 100644 --- a/home/echidna.nix +++ b/home/echidna.nix @@ -7,6 +7,7 @@ imports = [ ./alacritty/macos.nix ./dav/macos.nix + ./gcloud ./git/echidna.nix ./gpg/macos.nix ./mail/macos.nix diff --git a/home/gcloud/default.nix b/home/gcloud/default.nix new file mode 100644 index 0000000..d8406da --- /dev/null +++ b/home/gcloud/default.nix @@ -0,0 +1,37 @@ +{ config, pkgs, ... }: + +{ + home.packages = [ pkgs.google-cloud-sdk ]; + home.file = { + + ".config/gcloud/configurations/config_default".text = '' + [core] + account = ricard@trkkn.com + project = trkkn-cloud-playground + disable_usage_reporting = false + + [compute] + zone = europe-west4-a + region = europe-west4 + ''; + + ".config/gcloud/configurations/config_coop".text = '' + [core] + account = ricard.illa@coop.ch + project = coop-marketinghub-dev1 + ''; + + ".config/gcloud/configurations/config_lidl".text = '' + [core] + account = terraform@lidl-shopdaten.iam.gserviceaccount.com + project = lidl-shopdaten + ''; + + ".config/gcloud/configurations/config_mango".text = '' + [core] + project = mango-data-hub-prod + account = ricard@trkkn.com + ''; + + }; +}