From 713f439b807b6ebdc9cb6e8ea459544c49cace78 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 24 Apr 2022 12:33:29 -0700 Subject: gcloud: add google-cloud-sdk on trusted hosts --- home/gcloud/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 home/gcloud/default.nix (limited to 'home/gcloud') diff --git a/home/gcloud/default.nix b/home/gcloud/default.nix new file mode 100644 index 0000000..0f6262b --- /dev/null +++ b/home/gcloud/default.nix @@ -0,0 +1,10 @@ +{ config, lib, pkgs, ... }: +let cfg = config.my.home.gcloud; +in { + options.my.home.gcloud = with lib; { + enable = mkEnableOption "google cloud sdk"; + }; + + config = + lib.mkIf cfg.enable { home.packages = with pkgs; [ google-cloud-sdk ]; }; +} -- cgit 1.4.1