summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-07-31 18:27:09 +0200
committerSoispha <soispha@vhack.eu>2023-08-02 16:19:50 +0200
commitdfb847a3c9d3bdd73aa187e590c239f3531f5e07 (patch)
tree4053fffd1a28236d2662db8a3cd36440eccd4a6d /system
parentFix(system/services/nix-sync): Rebase on pulls, to allow for force pushes (diff)
downloadnixos-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 '')
-rw-r--r--system/services/nix-sync/default.nix1
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