From 719c7d9149d7e473fb14972c094f876f3f00d844 Mon Sep 17 00:00:00 2001 From: Louis Pearson Date: Sun, 7 Jan 2024 01:27:54 -0700 Subject: [PATCH] Use postgres instead of sqlite --- configuration.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configuration.nix b/configuration.nix index 7a1a521..eae8981 100644 --- a/configuration.nix +++ b/configuration.nix @@ -201,6 +201,14 @@ "100.64.0.3" ]; caching.apcu = true; + + # Auto update apps + autoUpdateApps = true; + + # Use postgres + database.createLocally = true; + config.dbType = "pgsql"; + config.dbpassFile = "/var/nextcloud-db-pass"; }; services.phpfpm.pools.nextcloud.settings = { "listen.owner" = config.services.caddy.user;