sourcehut: fix `repos` path by using actual settings value

Signed-off-by: Christoph Heiss <christoph@c8h4.io>

+2 -2
+2 -2
nixos/modules/services/misc/sourcehut/default.nix
··· 38 38 # for services needing access to them. 39 39 "builds.sr.ht::worker".buildlogs = "/var/log/sourcehut/buildsrht-worker"; 40 40 "git.sr.ht".post-update-script = "/usr/bin/gitsrht-update-hook"; 41 - "git.sr.ht".repos = "/var/lib/sourcehut/gitsrht/repos"; 41 + "git.sr.ht".repos = cfg.settings."git.sr.ht".repos; 42 42 "hg.sr.ht".changegroup-script = "/usr/bin/hgsrht-hook-changegroup"; 43 - "hg.sr.ht".repos = "/var/lib/sourcehut/hgsrht/repos"; 43 + "hg.sr.ht".repos = cfg.settings."hg.sr.ht".repos; 44 44 # Making this a per service option despite being in a global section, 45 45 # so that it uses the redis-server used by the service. 46 46 "sr.ht".redis-host = cfg.${srv}.redis.host;