about summary refs log tree commit diff
path: root/home/gcloud/default.nix
blob: 0f6262bb9e996cbc87c966869f2db5deeea04446 (plain) (blame)
1
2
3
4
5
6
7
8
9
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 ]; };
}