Forráskód Böngészése

feat(git): add a pat for zofie

Zander Hawke 1 napja
szülő
commit
61dfb38f8e
4 módosított fájl, 10 hozzáadás és 4 törlés
  1. 4 4
      flake.lock
  2. 4 0
      home/features/cli/git.nix
  3. 1 0
      home/meili.nix
  4. 1 0
      hosts/odin/containers/grasp.nix

+ 4 - 4
flake.lock

@@ -830,11 +830,11 @@
     },
     "secrets": {
       "locked": {
-        "lastModified": 1781967054,
-        "narHash": "sha256-E6RZE0NQgTX83771X7XAE004C9tb0FODYxAe5WiqdZI=",
+        "lastModified": 1781973601,
+        "narHash": "sha256-2f1lug+SDEiTkF/qkCgOGZnzZc0LbL6DqVumTzqPZnY=",
         "ref": "refs/heads/master",
-        "rev": "9750060078d29bf3943f6fcd77842375e9adf855",
-        "revCount": 30,
+        "rev": "cb53459bf6e3ea0491affb92dcf728a5744294b1",
+        "revCount": 31,
         "type": "git",
         "url": "ssh://[email protected]/control/secrets.git"
       },

+ 4 - 0
home/features/cli/git.nix

@@ -32,6 +32,10 @@ let
       signingKey = "~/.ssh/zofie_architect.pub";
     };
     core.sshCommand = "ssh -i ~/.ssh/zofie_architect.pub";
+
+    credential."https://git.t5.st" = {
+      helper = "store --file ${config.age.secrets."home/zofie-pat".path}";
+    };
   };
 
   alruna = {

+ 1 - 0
home/meili.nix

@@ -40,6 +40,7 @@ in
   age.identityPaths = [ "/Users/thomas/.ssh/builder_ed25519" ];
   age.secrets = {
     "home/control-pat".file = secrets."home/control-pat.age";
+    "home/zofie-pat".file = secrets."home/zofie-pat.age";
     "meili/openrouter".file = secrets."meili/openrouter.age";
   };
 }

+ 1 - 0
hosts/odin/containers/grasp.nix

@@ -19,6 +19,7 @@
     metricsEnabled = false;
     archiveWhitelist = [
       "npub1z0fle6nzrw3c6mv7klxyhkycpkt7lna04p9z5e4yq5rss259dq0sky7xzd"
+      "npub1k0y4eceal2zryes3azm6nsgt0r0jsa2v8zcsdf9uqxttn0jlfe9q04c9h8"
     ];
   };