Home

infra @e0405dfb83e8c9370899a0047737cbfd47ec6593 - refs - log -
-
https://git.jolheiser.com/infra.git
dragonwell flake
infra / dragonwell / horcrux.nix
- raw -
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ config, ... }:
{
  age.secrets.horcrux = {
    file = ../secrets/horcrux.age;
    owner = "horcrux";
  };
  services.horcrux = {
    enable = true;
    config = {
      key = config.age.secrets.horcrux.path;
      interval = "15m";
      repos =
        map
          (name: {
            inherit name;
            source = "https://git.jolheiser.com/${name}.git";
            dest = [
              "git@tangled.sh:jolheiser.com/${name}"
            ];
          })
          [
            "horcrux"
            "ugit"
            "helix.drv"
            "zed.drv"
            "gitpecker"
            "jsonnetpecker"
          ];
    };
  };
}