https://git.jolheiser.com/infra.git
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
{ config, ... }: { age.secrets.horcrux = { file = ../secrets/horcrux.age; owner = "horcrux"; }; services.horcrux = { enable = true; config = { key = config.age.secrets.horcrux.path; interval = "15m"; repos = let repo = name: { inherit name; source = "https://git.jolheiser.com/${name}.git"; dest = [ "git@github.com:jolheiser/${name}" "git@tangled.sh:jolheiser.com/${name}" ]; }; in [ (repo "horcrux") (repo "ugit") (repo "helix.drv") ]; }; }; }