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