aboutsummaryrefslogtreecommitdiffstats
path: root/system/services
diff options
context:
space:
mode:
authorSilas Schöffel <sils@sils.li>2024-06-01 16:54:31 +0200
committerSilas Schöffel <sils@sils.li>2024-06-01 16:54:31 +0200
commitb3396ab7555f9579e7347153a70fd0b50a4ad4ea (patch)
treea9206f59a57651ccd8885a2734a0697136e1f74d /system/services
parentfix(treewide): use invidious-router module provided by nixpkgs (diff)
downloadnixos-server-b3396ab7555f9579e7347153a70fd0b50a4ad4ea.zip
fix(system/services/invidious): set db.user to invidious
This also changes the dbname to "invidious" which isn't mentioned in the commit message as it's the default in nixpkgs.
Diffstat (limited to '')
-rw-r--r--system/services/invidious/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/system/services/invidious/default.nix b/system/services/invidious/default.nix
index a1d202c..6c587b3 100644
--- a/system/services/invidious/default.nix
+++ b/system/services/invidious/default.nix
@@ -17,6 +17,10 @@ in {
settings = {
check_tables = true;
+ db = {
+ dbname = "invidious";
+ user = "invidious";
+ };
};
};
systemd.services.invidious.serviceConfig = {