Fix forgejo perms
This commit is contained in:
parent
490a77b67e
commit
eb808571bb
|
@ -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;
|
||||||
|
|
|
@ -16,7 +16,6 @@
|
||||||
./hardware
|
./hardware
|
||||||
./boot.nix
|
./boot.nix
|
||||||
./services/syncthing.nix
|
./services/syncthing.nix
|
||||||
./services/forgejo.nix
|
|
||||||
];
|
];
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue