1
Fork 0

Fix forgejo perms

This commit is contained in:
prescientmoon 2024-05-11 01:18:47 +02:00
parent 490a77b67e
commit eb808571bb
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4
2 changed files with 2 additions and 1 deletions

View file

@ -2,10 +2,12 @@
let let
port = 8419; port = 8419;
host = "git.moonythm.dev"; host = "git.moonythm.dev";
cfg = config.services.forgejo;
in in
{ {
sops.secrets.forgejo_mail_password.sopsFile = ../secrets.yaml; sops.secrets.forgejo_mail_password.sopsFile = ../secrets.yaml;
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;

View file

@ -16,7 +16,6 @@
./hardware ./hardware
./boot.nix ./boot.nix
./services/syncthing.nix ./services/syncthing.nix
./services/forgejo.nix
]; ];
# }}} # }}}