long timeouts for nextcloud vacustore

This commit is contained in:
Shelvacu
2024-12-10 11:04:35 -08:00
committed by Shelvacu on triple-dezert
parent c25944bf78
commit 4025b0bab8

View File

@@ -1,4 +1,4 @@
{ config, ... }:
{ config, lib, ... }:
{
vacu.databases.nextcloud = {
user = "ncadmin";
@@ -19,6 +19,7 @@
networking.firewall.extraStopCommands = ''
iptables -t filter -D nixos-fw -i ve-vacustore -p tcp -m tcp --dport 5432 -j nixos-fw-accept || true
'';
systemd.services."container@vacustore".serviceConfig.TimeoutStartSec = lib.mkForce "infinity";
containers.vacustore = {
privateNetwork = true;
@@ -56,6 +57,8 @@
environment.systemPackages = [ config.services.nextcloud.package ]; # make occ command available without having to dig for it
systemd.services.nextcloud-setup.serviceConfig.TimeoutStartSec = "infinity";
services.nextcloud = {
enable = true;
package = pkgs.nextcloud30;