revert: useing pkgs.fetchGit for authorized keys #16

Merged
c6ristian merged 1 commit from revert-use-pkgs.fetchgit-for-authorized-keys-repo into main 2024-11-17 19:32:03 +01:00
Showing only changes of commit c25d6c6326 - Show all commits

View file

@ -9,10 +9,10 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
let let
authorizedKeysRepo = pkgs.fetchgit { authorizedKeysRepo = builtins.fetchGit {
url = "https://git.hamburg.ccc.de/CCCHH/infrastructure-authorized-keys"; url = "forgejo@git.hamburg.ccc.de:CCCHH/infrastructure-authorized-keys.git";
ref = "trunk";
rev = "686a6af22f6696f0c0595c56f463c078550049fc"; rev = "686a6af22f6696f0c0595c56f463c078550049fc";
hash = "sha256-plTYjM6zPzoBE/dp6EUrk9mCqmab278p8FqBCTX8Grc=";
}; };
authorizedKeys = builtins.filter (item: item != "") (lib.strings.splitString "\n" (builtins.readFile "${authorizedKeysRepo}/authorized_keys")); authorizedKeys = builtins.filter (item: item != "") (lib.strings.splitString "\n" (builtins.readFile "${authorizedKeysRepo}/authorized_keys"));
in in