AutoUpdateSigned : Limit runtime to 55m for a weird brand new NixOS bug!

This commit is contained in:
Dmitry Voronin 2024-10-11 21:05:29 +03:00
parent 689d1af640
commit 0a6bd62f8a
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -22,7 +22,10 @@ in {
systemd.services.autoupdate = util.mkStaticSystemdService { systemd.services.autoupdate = util.mkStaticSystemdService {
enable = true; enable = true;
description = "Signed system auto-update."; description = "Signed system auto-update.";
serviceConfig.Type = "oneshot"; serviceConfig = {
RuntimeMaxSec = "55m";
Type = "oneshot";
};
path = with pkgs; [ path = with pkgs; [
bash bash
git git