Compare commits
2 commits
b6b246f6f4
...
6c2c9f1869
Author | SHA1 | Date | |
---|---|---|---|
Antoine Martin | 6c2c9f1869 | ||
Antoine Martin | 6a0f69e5c1 |
|
@ -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"];
|
||||||
|
|
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue