about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--home/gcloud/default.nix10
-rw-r--r--home/secrets/gcloud/dns-update.json.agebin0 -> 2512 bytes
-rw-r--r--hosts/aptos/secrets/gcloud/world-nix.agebin2859 -> 0 bytes
-rw-r--r--hosts/aptos/secrets/secrets.nix5
4 files changed, 7 insertions, 8 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 ];
+  };
 }
diff --git a/home/secrets/gcloud/dns-update.json.age b/home/secrets/gcloud/dns-update.json.age
new file mode 100644
index 0000000..b2607a4
--- /dev/null
+++ b/home/secrets/gcloud/dns-update.json.age
Binary files differdiff --git a/hosts/aptos/secrets/gcloud/world-nix.age b/hosts/aptos/secrets/gcloud/world-nix.age
deleted file mode 100644
index 0168f1e..0000000
--- a/hosts/aptos/secrets/gcloud/world-nix.age
+++ /dev/null
Binary files differdiff --git a/hosts/aptos/secrets/secrets.nix b/hosts/aptos/secrets/secrets.nix
index 59e43a5..529e7f9 100644
--- a/hosts/aptos/secrets/secrets.nix
+++ b/hosts/aptos/secrets/secrets.nix
@@ -20,9 +20,4 @@ in
     publicKeys = [ root fcuny backup ];
     owner = "fcuny";
   };
-
-  "gcloud/world-nix.age" = {
-    publicKeys = [ root fcuny backup ];
-    owner = "fcuny";
-  };
 }