aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-03-15 08:52:59 -0300
committerEuAndreh <eu@euandre.org>2023-03-15 08:53:01 -0300
commitca0caffa50713d1d369d4718b404d83cd7fce26a (patch)
tree1ea0c19dbaee726c266d8e581bd7cb17dc0f25e8
parentetc/sh/cronjob.sh: Increase timeout to 2 hours (diff)
downloaddotfiles-ca0caffa50713d1d369d4718b404d83cd7fce26a.tar.gz
dotfiles-ca0caffa50713d1d369d4718b404d83cd7fce26a.tar.xz
bin/reconfigure: Remove timeout limitation
The cronjob has a timeout, and running manually can be enclosed by a timeout if required.
-rwxr-xr-xbin/reconfigure5
1 files changed, 1 insertions, 4 deletions
diff --git a/bin/reconfigure b/bin/reconfigure
index 63e255a..12b4382 100755
--- a/bin/reconfigure
+++ b/bin/reconfigure
@@ -92,10 +92,7 @@ if [ -e /run/current-system/configuration.scm ]; then
sudo -ES guix system -v3 reconfigure "$XDG_CONFIG_HOME"/guix/system.scm
fi
-TWO_HOURS='7200'
-
-timeout "$TWO_HOURS" \
- guix home -v3 reconfigure "$XDG_CONFIG_HOME"/guix/home.scm
+guix home -v3 reconfigure "$XDG_CONFIG_HOME"/guix/home.scm
if [ -e /etc/nixos/configuration.nix ]; then
pass show "$HOSTNAME"/andreh |