From 9572aa99a6ef90c92b991c6a5a03cea7aed1e425 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 19 Dec 2020 23:02:46 -0500 Subject: [PATCH] Default gitea to sqlite Most portable default. --- modules/services/gitea.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/modules/services/gitea.nix b/modules/services/gitea.nix index 1c60df08..fcb38d91 100644 --- a/modules/services/gitea.nix +++ b/modules/services/gitea.nix @@ -21,15 +21,14 @@ in { log.level = "Info"; user = "git"; - database = { - user = "git"; - type = "postgres"; - }; + database.user = "git"; useWizard = false; disableRegistration = true; # We're assuming SSL-only connectivity cookieSecure = true; }; + + user.extraGroups = [ "gitea" ]; }; }