forked from mirrors_public/oddlama_nix-config
fix(forgejo): use correct group for secret
This commit is contained in:
parent
a975cc1f7f
commit
d577fb1d1a
1 changed files with 3 additions and 2 deletions
|
@ -7,6 +7,7 @@
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
sentinelCfg = nodes.sentinel.config;
|
sentinelCfg = nodes.sentinel.config;
|
||||||
|
# XXX: other domain on other proxy?
|
||||||
forgejoDomain = "git.${sentinelCfg.repo.secrets.local.personalDomain}";
|
forgejoDomain = "git.${sentinelCfg.repo.secrets.local.personalDomain}";
|
||||||
in {
|
in {
|
||||||
# TODO forward ssh port
|
# TODO forward ssh port
|
||||||
|
@ -16,8 +17,8 @@ in {
|
||||||
|
|
||||||
age.secrets.forgejo-mailer-password = {
|
age.secrets.forgejo-mailer-password = {
|
||||||
rekeyFile = config.node.secretsDir + "/forgejo-mailer-password.age";
|
rekeyFile = config.node.secretsDir + "/forgejo-mailer-password.age";
|
||||||
mode = "400";
|
mode = "440";
|
||||||
group = "forgejo";
|
inherit (config.services.gitea) group;
|
||||||
};
|
};
|
||||||
|
|
||||||
nodes.sentinel = {
|
nodes.sentinel = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue