Fix perms for forgejo mailer password
This commit is contained in:
parent
eb808571bb
commit
cd309dd510
|
@ -5,9 +5,13 @@ let
|
||||||
cfg = config.services.forgejo;
|
cfg = config.services.forgejo;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
sops.secrets.forgejo_mail_password.sopsFile = ../secrets.yaml;
|
sops.secrets.forgejo_mail_password = {
|
||||||
|
sopsFile = ../secrets.yaml;
|
||||||
|
owner = cfg.user;
|
||||||
|
group = cfg.group;
|
||||||
|
};
|
||||||
|
|
||||||
satellite.cloudflared.targets.${host}.port = port;
|
satellite.cloudflared.targets.${host}.port = port;
|
||||||
systemd.tmpfiles.rules = [ "d ${cfg.stateDir} 0700 ${cfg.user} ${cfg.user} -" ];
|
|
||||||
|
|
||||||
services.forgejo = {
|
services.forgejo = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in a new issue