gcloud config for work

feat/kile-v2
Ricard Illa 2022-01-18 12:34:04 +01:00
parent cb66f2bb4c
commit 2e9a5a8012
No known key found for this signature in database
GPG Key ID: F69A672B72E54902
2 changed files with 38 additions and 0 deletions

View File

@ -7,6 +7,7 @@
imports = [ imports = [
./alacritty/macos.nix ./alacritty/macos.nix
./dav/macos.nix ./dav/macos.nix
./gcloud
./git/echidna.nix ./git/echidna.nix
./gpg/macos.nix ./gpg/macos.nix
./mail/macos.nix ./mail/macos.nix

37
home/gcloud/default.nix Normal file
View File

@ -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
'';
};
}