From 275a3779f775bd5e8934f5f0c049a60caf7b15af Mon Sep 17 00:00:00 2001 From: June Date: Wed, 22 Oct 2025 21:07:27 +0200 Subject: [PATCH] fix authorizedKeysRepo input by using type git Fix authorizedKeysRepo input by using type git as .tar.gz archive gives a 500. --- flake.lock | 17 ++++++++++------- flake.nix | 2 +- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/flake.lock b/flake.lock index 906f209..1634fee 100644 --- a/flake.lock +++ b/flake.lock @@ -3,15 +3,18 @@ "authorizedKeysRepo": { "flake": false, "locked": { - "lastModified": 1745870473, - "narHash": "sha256-GMU6gfG1+3OjTuoiIYQg9yefzrz+RVVesqXa8jmOuCE=", - "rev": "fc95460e9e6ae759b2b08c93b10a8e010e9e14e6", - "type": "tarball", - "url": "https://git.hamburg.ccc.de/api/v1/repos/CCCHH/infrastructure-authorized-keys/archive/fc95460e9e6ae759b2b08c93b10a8e010e9e14e6.tar.gz" + "lastModified": 1761076425, + "narHash": "sha256-EMUF17MVENJoX8bmxvWLB0TUPhFqlq0szXT0M7mkwWU=", + "ref": "trunk", + "rev": "7d9c3a683a50d109ed8fd3f75d090d5403967f7f", + "revCount": 20, + "type": "git", + "url": "https://git.hamburg.ccc.de/CCCHH/infrastructure-authorized-keys" }, "original": { - "type": "tarball", - "url": "https://git.hamburg.ccc.de/CCCHH/infrastructure-authorized-keys/archive/fc95460e9e6ae759b2b08c93b10a8e010e9e14e6.tar.gz" + "ref": "trunk", + "type": "git", + "url": "https://git.hamburg.ccc.de/CCCHH/infrastructure-authorized-keys" } }, "nixlib": { diff --git a/flake.nix b/flake.nix index 39183bf..e458964 100644 --- a/flake.nix +++ b/flake.nix @@ -22,7 +22,7 @@ }; authorizedKeysRepo = { - url = "https://git.hamburg.ccc.de/CCCHH/infrastructure-authorized-keys/archive/fc95460e9e6ae759b2b08c93b10a8e010e9e14e6.tar.gz"; + url = "git+https://git.hamburg.ccc.de/CCCHH/infrastructure-authorized-keys?ref=trunk"; flake = false; }; };