diff --git a/hosts/by-name/servo/services/gitea.nix b/hosts/by-name/servo/services/gitea.nix index fca9ecdca..0b3499e8d 100644 --- a/hosts/by-name/servo/services/gitea.nix +++ b/hosts/by-name/servo/services/gitea.nix @@ -1,6 +1,6 @@ # config options: # 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" ]; };