diff options
Diffstat (limited to 'home/gcloud/default.nix')
-rw-r--r-- | home/gcloud/default.nix | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/home/gcloud/default.nix b/home/gcloud/default.nix index f886586..94f6eaa 100644 --- a/home/gcloud/default.nix +++ b/home/gcloud/default.nix @@ -1,4 +1,4 @@ -{ config, lib, pkgs, ... }: +{ config, lib, pkgs, self, ... }: let cfg = config.my.home.gcloud; in { @@ -6,6 +6,10 @@ in enable = mkEnableOption "google cloud sdk"; }; - config = - lib.mkIf cfg.enable { home.packages = with pkgs; [ 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 ]; + }; } |