Compare commits

...

2 commits

2 changed files with 6 additions and 5 deletions

View file

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

View file

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