Make a passwd file readable by the nextcloud user
This commit is contained in:
parent
dd02a9c247
commit
5115052215
|
@ -83,6 +83,11 @@ in {
|
|||
configuration = {
|
||||
boot.tmpOnTmpfs = true;
|
||||
system.nssModules = lib.mkForce [ ];
|
||||
environment.etc."nextcloud/admin.passwd" = {
|
||||
source = "/run/nextcloud/admin.passwd";
|
||||
mode = "0400";
|
||||
user = "nextcloud";
|
||||
};
|
||||
services = {
|
||||
nscd.enable = false;
|
||||
postgresql.enable = true;
|
||||
|
@ -99,7 +104,7 @@ in {
|
|||
database.createLocally = true;
|
||||
config = {
|
||||
dbtype = "pgsql";
|
||||
adminpassFile = "/run/nextcloud/admin.passwd";
|
||||
adminpassFile = "/etc/nextcloud/admin.passwd";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue