diff options
author | Gabriel Fontes <hi@m7.rs> | 2023-05-09 11:51:39 -0300 |
---|---|---|
committer | Gabriel Fontes <hi@m7.rs> | 2023-05-14 12:09:50 -0300 |
commit | f9f76529cd9682bee8a3a805cb4c8f7e0f8e7af4 (patch) | |
tree | 5e78670ab911bee678b7affc1065ad2486fe5235 /nixos/tests/nextcloud | |
parent | f52d66e7ed54f5fdfeafea19bcda6aeb853f6468 (diff) | |
download | nixpkgs-f9f76529cd9682bee8a3a805cb4c8f7e0f8e7af4.tar nixpkgs-f9f76529cd9682bee8a3a805cb4c8f7e0f8e7af4.tar.gz nixpkgs-f9f76529cd9682bee8a3a805cb4c8f7e0f8e7af4.tar.bz2 nixpkgs-f9f76529cd9682bee8a3a805cb4c8f7e0f8e7af4.tar.lz nixpkgs-f9f76529cd9682bee8a3a805cb4c8f7e0f8e7af4.tar.xz nixpkgs-f9f76529cd9682bee8a3a805cb4c8f7e0f8e7af4.tar.zst nixpkgs-f9f76529cd9682bee8a3a805cb4c8f7e0f8e7af4.zip |
nixos/nextcloud: default createLocally to false
Diffstat (limited to 'nixos/tests/nextcloud')
-rw-r--r-- | nixos/tests/nextcloud/basic.nix | 1 | ||||
-rw-r--r-- | nixos/tests/nextcloud/openssl-sse.nix | 1 | ||||
-rw-r--r-- | nixos/tests/nextcloud/with-mysql-and-memcached.nix | 1 | ||||
-rw-r--r-- | nixos/tests/nextcloud/with-postgresql-and-redis.nix | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/nixos/tests/nextcloud/basic.nix b/nixos/tests/nextcloud/basic.nix index a475049e7b2..e17f701c54b 100644 --- a/nixos/tests/nextcloud/basic.nix +++ b/nixos/tests/nextcloud/basic.nix @@ -43,6 +43,7 @@ in { enable = true; datadir = "/var/lib/nextcloud-data"; hostName = "nextcloud"; + database.createLocally = true; config = { # Don't inherit adminuser since "root" is supposed to be the default adminpassFile = "${pkgs.writeText "adminpass" adminpass}"; # Don't try this at home! diff --git a/nixos/tests/nextcloud/openssl-sse.nix b/nixos/tests/nextcloud/openssl-sse.nix index 871947e1d2b..e1f2706a734 100644 --- a/nixos/tests/nextcloud/openssl-sse.nix +++ b/nixos/tests/nextcloud/openssl-sse.nix @@ -9,6 +9,7 @@ args@{ pkgs, nextcloudVersion ? 25, ... }: services.nextcloud = { enable = true; config.adminpassFile = "${pkgs.writeText "adminpass" adminpass}"; + database.createLocally = true; package = pkgs.${"nextcloud" + (toString nextcloudVersion)}; }; }; diff --git a/nixos/tests/nextcloud/with-mysql-and-memcached.nix b/nixos/tests/nextcloud/with-mysql-and-memcached.nix index f673e5e75d3..e57aabfaf86 100644 --- a/nixos/tests/nextcloud/with-mysql-and-memcached.nix +++ b/nixos/tests/nextcloud/with-mysql-and-memcached.nix @@ -26,6 +26,7 @@ in { redis = false; memcached = true; }; + database.createLocally = true; config = { dbtype = "mysql"; # Don't inherit adminuser since "root" is supposed to be the default diff --git a/nixos/tests/nextcloud/with-postgresql-and-redis.nix b/nixos/tests/nextcloud/with-postgresql-and-redis.nix index 43892d39e9f..1cbb1310428 100644 --- a/nixos/tests/nextcloud/with-postgresql-and-redis.nix +++ b/nixos/tests/nextcloud/with-postgresql-and-redis.nix @@ -25,6 +25,7 @@ in { redis = true; memcached = false; }; + database.createLocally = true; config = { dbtype = "pgsql"; inherit adminuser; |