feat: nextcloud test

This commit is contained in:
Nick 2024-10-18 03:33:15 -05:00
parent 7cc4daf392
commit 7fdfd6128f

View file

@ -6,10 +6,15 @@
}: let }: let
inherit (flake.config.people) user0; inherit (flake.config.people) user0;
inherit (flake.config.people.user.${user0}) domain; inherit (flake.config.people.user.${user0}) domain;
inherit (flake.config.system.device) server wildcard; inherit
(flake.config.system.device)
# server
wildcard
;
inherit (flake.config.service.instance) nextcloud nginx; inherit (flake.config.service.instance) nextcloud nginx;
localhost = wildcard.ip.address0; localhost = wildcard.ip.address0;
host = "${nextcloud.name}.${domain.url0}"; host = "${nextcloud.name}.${domain.url1}";
in { in {
services = { services = {
nextcloud = { nextcloud = {
@ -19,7 +24,7 @@ in {
enable = true; enable = true;
hostName = host; hostName = host;
https = true; https = true;
package = pkgs.nextcloud30; package = pkgs.nextcloud29;
phpOptions."opcache.interned_strings_buffer" = "24"; phpOptions."opcache.interned_strings_buffer" = "24";
extraAppsEnable = true; extraAppsEnable = true;
extraApps = { extraApps = {