diff options
| author | quentin@aristote.fr <quentin@aristote.fr> | 2025-06-22 13:44:58 +0200 |
|---|---|---|
| committer | quentin@aristote.fr <quentin@aristote.fr> | 2025-06-22 13:45:24 +0200 |
| commit | 5d1c9d8a7c78c7e8d8bfd1e4e2410e8e3963baff (patch) | |
| tree | bf3f5716a87b4f95a74bff7ffa078a82c3094c8f /modules/nixos/personal/system.nix | |
| parent | 3076664bb29110928058ace9b2bc9b473f0703fc (diff) | |
nixos: system: restart unit directly when network check failed
Diffstat (limited to 'modules/nixos/personal/system.nix')
| -rw-r--r-- | modules/nixos/personal/system.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/nixos/personal/system.nix b/modules/nixos/personal/system.nix index 4cbdbc4..332384a 100644 --- a/modules/nixos/personal/system.nix +++ b/modules/nixos/personal/system.nix @@ -73,6 +73,7 @@ in { serviceConfig = lib.mkIf (!config.personal.monitoring.enable) { Restart = "on-abort"; RestartSec = 30; + RestartMode = "direct"; # dependent units will not fail }; }; in |
