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