9 with import ../../lib/testing-python.nix { inherit system pkgs; };
14 meta = with pkgs.lib.maintainers; {
15 maintainers = [ eqyiel ];
18 imports = [ testBase ];
22 { config, pkgs, ... }:
24 services.nextcloud = {
30 config.dbtype = "mysql";
33 services.memcached.enable = true;
39 configureMemcached = pkgs.writeScript "configure-memcached" ''
40 nextcloud-occ config:system:set memcached_servers 0 0 --value 127.0.0.1 --type string
41 nextcloud-occ config:system:set memcached_servers 0 1 --value 11211 --type integer
42 nextcloud-occ config:system:set memcache.local --value '\OC\Memcache\APCu' --type string
43 nextcloud-occ config:system:set memcache.distributed --value '\OC\Memcache\Memcached' --type string
47 nextcloud.succeed("${configureMemcached}")