servo: gitea: cleanup

This commit is contained in:
2024-11-17 16:38:24 +00:00
parent 2058045011
commit 7ec6d28c65

View File

@@ -1,6 +1,6 @@
# config options: <https://docs.gitea.io/en-us/administration/config-cheat-sheet/>
# TODO: service shouldn't run as `git` user, but as `gitea`
{ config, pkgs, lib, ... }:
{ pkgs, lib, ... }:
{
sane.persist.sys.byStore.private = [
@@ -101,9 +101,8 @@
# we need more protos for sendmail to work. i thought it only needed +AF_LOCAL, but that didn't work.
RestrictAddressFamilies = lib.mkForce "~";
# add maildrop to allow sendmail to work
ReadWritePaths = lib.mkForce [
ReadWritePaths = [
"/var/lib/postfix/queue/maildrop"
"/var/lib/gitea"
];
};