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
port = 8419;
host = "git.moonythm.dev";
cfg = config.services.forgejo;
in
{
sops.secrets.forgejo_mail_password.sopsFile = ../secrets.yaml;
satellite.cloudflared.targets.${host}.port = port;
systemd.tmpfiles.rules = [ "d ${cfg.stateDir} 0700 ${cfg.user} ${cfg.user} -" ];
services.forgejo = {
enable = true;

View file

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