From 0a6bd62f8a07caf0a9bab9d4cc751a31c6d284e5 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Fri, 11 Oct 2024 21:05:29 +0300 Subject: [PATCH] AutoUpdateSigned : Limit runtime to 55m for a weird brand new NixOS bug! --- module/AutoUpdateSigned.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/module/AutoUpdateSigned.nix b/module/AutoUpdateSigned.nix index 658ddd0..da28ebb 100644 --- a/module/AutoUpdateSigned.nix +++ b/module/AutoUpdateSigned.nix @@ -22,7 +22,10 @@ in { systemd.services.autoupdate = util.mkStaticSystemdService { enable = true; description = "Signed system auto-update."; - serviceConfig.Type = "oneshot"; + serviceConfig = { + RuntimeMaxSec = "55m"; + Type = "oneshot"; + }; path = with pkgs; [ bash git