Merge pull request #135946 from Ma27/nextcloud-tableprefix

nixos/nextcloud: remove invalid `--database-table-prefix` option
wip/nixpkgs-raku
Maximilian Bosch 3 years ago committed by GitHub
commit 6f8cfa08fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      nixos/modules/services/web-apps/nextcloud.nix
  2. 1
      nixos/tests/nextcloud/basic.nix

@ -502,8 +502,6 @@ in {
${if c.dbport != null then "--database-port" else null} = ''"${toString c.dbport}"'';
${if c.dbuser != null then "--database-user" else null} = ''"${c.dbuser}"'';
"--database-pass" = dbpass;
${if c.dbtableprefix != null
then "--database-table-prefix" else null} = ''"${toString c.dbtableprefix}"'';
"--admin-user" = ''"${c.adminuser}"'';
"--admin-pass" = adminpass;
"--data-dir" = ''"${cfg.home}/data"'';

@ -37,6 +37,7 @@ in {
config = {
# Don't inherit adminuser since "root" is supposed to be the default
inherit adminpass;
dbtableprefix = "nixos_";
};
autoUpdateApps = {
enable = true;

Loading…
Cancel
Save