Compare commits

..

2 commits

2 changed files with 6 additions and 5 deletions

View file

@ -67,10 +67,6 @@ in {
maxUploadSize = "1G";
config = {
overwriteProtocol = "https";
defaultPhoneRegion = "FR";
dbtype = "pgsql";
dbuser = "nextcloud";
dbname = dbName;
@ -79,6 +75,11 @@ in {
adminuser = "admin";
adminpassFile = cfg.adminpassFile;
};
settings = {
default_phone_region = "FR";
overwriteprotocol = "https";
};
};
users.groups.media.members = ["nextcloud"];

View file

@ -50,7 +50,7 @@ in {
enable = true;
port = cfg.port;
passwordFile = cfg.passwordFile;
extraConfig = {
settings = {
# Postgres settings
PAPERLESS_DBHOST = "/run/postgresql";
PAPERLESS_DBUSER = "paperless";