services/nextcloud: fix a bug
This commit is contained in:
parent
c3e03d1199
commit
dd9200c0a4
1 changed files with 2 additions and 5 deletions
|
@ -768,11 +768,8 @@ in {
|
|||
${optionalString (c.dbuser != null) "'dbuser' => '${c.dbuser}',"}
|
||||
${optionalString (c.dbtableprefix != null) "'dbtableprefix' => '${toString c.dbtableprefix}',"}
|
||||
${optionalString (c.dbpassFile != null) ''
|
||||
dbpassword' => nix_read_file(
|
||||
${c.dbpassFile},
|
||||
"Cannot start Nextcloud, dbpass file %s set by NixOS doesn't seem to "
|
||||
. "exist! Please make sure that the file exists and has appropriate "
|
||||
. "permissions for user & group 'nextcloud'!"
|
||||
'dbpassword' => nix_read_secret(
|
||||
"${c.dbpassFile}"
|
||||
),
|
||||
''
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue