diff options
author | Soispha <soispha@vhack.eu> | 2023-07-31 18:27:09 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-08-02 16:19:50 +0200 |
commit | dfb847a3c9d3bdd73aa187e590c239f3531f5e07 (patch) | |
tree | 4053fffd1a28236d2662db8a3cd36440eccd4a6d /system | |
parent | Fix(system/services/nix-sync): Rebase on pulls, to allow for force pushes (diff) | |
download | nixos-server-dfb847a3c9d3bdd73aa187e590c239f3531f5e07.tar.gz nixos-server-dfb847a3c9d3bdd73aa187e590c239f3531f5e07.zip |
Fix(system/services/nix-sync): Remove timeout on build
The unit had the potential to fail, if the build took longer than the default timeout. This is obviously not ideal, so the timeout was removed, as all nix builds should be safe enough not to devour resources.
Diffstat (limited to 'system')
-rw-r--r-- | system/services/nix-sync/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/system/services/nix-sync/default.nix b/system/services/nix-sync/default.nix index cedbb91..8c466b8 100644 --- a/system/services/nix-sync/default.nix +++ b/system/services/nix-sync/default.nix @@ -88,6 +88,7 @@ preStart = execStartPreScript; serviceConfig = { + TimeoutSec = 0; ExecStart = execStartScript; Restart = "on-abort"; # User and group |