about summary refs log tree commit diff
path: root/home/gcloud
diff options
context:
space:
mode:
Diffstat (limited to 'home/gcloud')
-rw-r--r--home/gcloud/default.nix10
1 files changed, 10 insertions, 0 deletions
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 ]; };
+}