about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <git@emile.space>2024-07-21 17:57:59 +0200
committerEmile <git@emile.space>2024-07-21 17:57:59 +0200
commit049e69a62df4d33fddc58508bc1aeb3c9f56b9d9 (patch)
treee3d92315bae9a29f882c2ae7385efbef1f5b2c25
parentc135343f4141ca14d393a6aa98912852fcf53f67 (diff)
(deploy): change the timeout for activations
I ran into limits when authelia took a centiry to shut down
-rw-r--r--nix/lib/flake-helper.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/nix/lib/flake-helper.nix b/nix/lib/flake-helper.nix
index 6bd1c11..99522c0 100644
--- a/nix/lib/flake-helper.nix
+++ b/nix/lib/flake-helper.nix
@@ -141,6 +141,15 @@ rec {
 					then deploy-rs.lib.aarch64-darwin.activate.darwin
 						self.darwinConfigurations."${name}"
 					else "");
+
+		  # Timeout for profile activation.
+		  # This defaults to 240 seconds.
+		  activationTimeout = 600;
+
+		  # Timeout for profile activation confirmation.
+		  # This defaults to 30 seconds.
+		  confirmTimeout = 120;
+
 		};
 	};