{ config, lib, pkgs, self, ... }: let cfg = config.my.home.gcloud; in { options.my.home.gcloud = with lib; { enable = mkEnableOption "google cloud sdk"; }; config = lib.mkIf cfg.enable { homeage.file."gcloud-dns-update.json" = { source = "${self}/home/secrets/gcloud/dns-update.json.age"; }; home.packages = with pkgs; [ google-cloud-sdk ]; }; }