1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-10 23:00:39 +02:00

fix(forgejo): use correct group for secret

This commit is contained in:
oddlama 2023-08-01 02:10:10 +02:00
parent a975cc1f7f
commit d577fb1d1a
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A

View file

@ -7,6 +7,7 @@
...
}: let
sentinelCfg = nodes.sentinel.config;
# XXX: other domain on other proxy?
forgejoDomain = "git.${sentinelCfg.repo.secrets.local.personalDomain}";
in {
# TODO forward ssh port
@ -16,8 +17,8 @@ in {
age.secrets.forgejo-mailer-password = {
rekeyFile = config.node.secretsDir + "/forgejo-mailer-password.age";
mode = "400";
group = "forgejo";
mode = "440";
inherit (config.services.gitea) group;
};
nodes.sentinel = {