From 47f757f3c07a3ee166a3ded13089496b9d9c7d0c Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Tue, 26 Nov 2024 23:24:46 +0000 Subject: [PATCH] nixos-modules/vmCommon: configure timing for Nextcloud specific maintenance --- nix/nixos-modules/vmCommon.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nix/nixos-modules/vmCommon.nix b/nix/nixos-modules/vmCommon.nix index 2942a0f..dbe6429 100644 --- a/nix/nixos-modules/vmCommon.nix +++ b/nix/nixos-modules/vmCommon.nix @@ -56,6 +56,12 @@ in rebootWindow.upper = "02:50"; }; + # service specific operations + services.nextcloud = { + autoUpdateApps.startAt = "03:00"; + settings.maintenance_window_start = 3; # +4h + }; + nix.gc = { # could take longer dates = "04:15";