From 8794ca07a79f64a05d8b9555ee652f21200aa476 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 11 Mar 2023 13:38:35 -0800 Subject: secrets: move aptos' gcloud secrets to homeage This secret is not needed system wide, I only need it to run some tools. --- home/gcloud/default.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'home/gcloud') 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 ]; + }; } -- cgit 1.4.1