trying to fix nextcloud but it's broke

This commit is contained in:
Anish L 2022-06-12 22:32:18 +10:00
parent 3c71c87738
commit 2747f21fdc

View file

@ -7,7 +7,7 @@
services.nextcloud = { services.nextcloud = {
enable = true; enable = true;
hostName = "mossnet.lan"; hostName = "mossnet.lan";
home = "/data/nextcloud"; home = "/data/nextcloud2";
package = pkgs.nextcloud22; package = pkgs.nextcloud22;
# Use HTTPS for links # Use HTTPS for links
@ -24,9 +24,9 @@
# Nextcloud PostegreSQL database configuration, recommended over using SQLite # Nextcloud PostegreSQL database configuration, recommended over using SQLite
dbtype = "pgsql"; dbtype = "pgsql";
dbuser = "nextcloud"; dbuser = "nextcloud2";
dbhost = "/run/postgresql"; # nextcloud will add /.s.PGSQL.5432 by itself dbhost = "/run/postgresql"; # nextcloud will add /.s.PGSQL.5432 by itself
dbname = "nextcloud"; dbname = "nextcloud2";
dbpassFile = "/var/nextcloud-db-pass"; dbpassFile = "/var/nextcloud-db-pass";
adminpassFile = "/var/nextcloud-admin-pass"; adminpassFile = "/var/nextcloud-admin-pass";