From e6201c6300a986de171ff762a7bc6ca7fd9c89de Mon Sep 17 00:00:00 2001 From: Satria Date: Mon, 2 Mar 2026 15:58:17 +0700 Subject: [PATCH] add override fix --- modules/system/homelab/containers.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/system/homelab/containers.nix b/modules/system/homelab/containers.nix index a078c91..08a341e 100644 --- a/modules/system/homelab/containers.nix +++ b/modules/system/homelab/containers.nix @@ -1,4 +1,4 @@ -{ ... }: let +{ lib, ... }: let stacks-dir = "/opt/stacks"; in { virtualisation = { @@ -27,10 +27,10 @@ in { systemd.services."docker-dockge" = { serviceConfig = { - Restart = "always"; - RestartMaxDelaySec = "1m"; - RestartSec = "100ms"; - RestartSteps = 9; + Restart = lib.mkOverride 500 "always"; + RestartMaxDelaySec = lib.mkOverride 500 "1m"; + RestartSec = lib.mkOverride 500 "100ms"; + RestartSteps = lib.mkOverride 500 9; }; wantedBy = [ "multi-user.target"