about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorLara <lara@uwu.is>2022-01-18 19:08:32 +0000
committerLara <lara@uwu.is>2022-01-18 19:09:22 +0000
commit909536115dab69e141d8ae03de41564d30824ada (patch)
tree24e700c98e793368381634dc7951bbc3c27c5028 /nixos
parentd3a146c2ec9c1dae66d11d1cd45052e5a9fde9c5 (diff)
downloadnixlib-909536115dab69e141d8ae03de41564d30824ada.tar
nixlib-909536115dab69e141d8ae03de41564d30824ada.tar.gz
nixlib-909536115dab69e141d8ae03de41564d30824ada.tar.bz2
nixlib-909536115dab69e141d8ae03de41564d30824ada.tar.lz
nixlib-909536115dab69e141d8ae03de41564d30824ada.tar.xz
nixlib-909536115dab69e141d8ae03de41564d30824ada.tar.zst
nixlib-909536115dab69e141d8ae03de41564d30824ada.zip
nixos/nextcloud: Fix nixos test on master
Resolves #155509
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/nextcloud/with-mysql-and-memcached.nix15
1 files changed, 8 insertions, 7 deletions
diff --git a/nixos/tests/nextcloud/with-mysql-and-memcached.nix b/nixos/tests/nextcloud/with-mysql-and-memcached.nix
index 80cb63df5dbe..891001e30b23 100644
--- a/nixos/tests/nextcloud/with-mysql-and-memcached.nix
+++ b/nixos/tests/nextcloud/with-mysql-and-memcached.nix
@@ -40,15 +40,16 @@ in {
 
       services.mysql = {
         enable = true;
-        bind = "127.0.0.1";
+        settings.mysqld = {
+          bind-address = "127.0.0.1";
+
+          # FIXME(@Ma27) Nextcloud isn't compatible with mariadb 10.6,
+          # this is a workaround.
+          # See https://help.nextcloud.com/t/update-to-next-cloud-21-0-2-has-get-an-error/117028/22
+          innodb_read_only_compressed = 0;
+        };
         package = pkgs.mariadb;
 
-        # FIXME(@Ma27) Nextcloud isn't compatible with mariadb 10.6,
-        # this is a workaround.
-        # See https://help.nextcloud.com/t/update-to-next-cloud-21-0-2-has-get-an-error/117028/22
-        extraOptions = ''
-          innodb_read_only_compressed=0
-        '';
         initialScript = pkgs.writeText "mysql-init" ''
           CREATE USER 'nextcloud'@'localhost' IDENTIFIED BY 'hunter2';
           CREATE DATABASE IF NOT EXISTS nextcloud;