diff --git a/profiles/gitea.nix b/profiles/gitea.nix index ec54f18..b85240d 100644 --- a/profiles/gitea.nix +++ b/profiles/gitea.nix @@ -28,8 +28,6 @@ services.litestream = { enable = true; environmentFile = "/run/secrets/litestream"; - user = "gitea"; - group = "gitea"; settings = { dbs = [ { @@ -47,6 +45,13 @@ }; }; + systemd.services.litestream = { + serviceConfig = { + User = "gitea"; + Group = "gitea"; + }; + }; + services.caddy = { enable = true; virtualHosts."git.schmatzler.com".extraConfig = ''