From 30fa9ad56e54c551614ce8d9145d6f66e90a24ac Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Sun, 13 Aug 2023 12:55:48 +1000 Subject: [PATCH] modules/darwin/common/reboot: command -> script --- modules/darwin/common/reboot.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/darwin/common/reboot.nix b/modules/darwin/common/reboot.nix index 560c54a..ab4bef8 100644 --- a/modules/darwin/common/reboot.nix +++ b/modules/darwin/common/reboot.nix @@ -1,7 +1,7 @@ { # reboot every sunday between 00:00 and 06:00 launchd.daemons.reboot = { - command = ''/sbin/shutdown -r "+$(( $RANDOM % ( 6 * 60 ) ))"''; + script = ''/sbin/shutdown -r "+$(( $RANDOM % ( 6 * 60 ) ))"''; serviceConfig.StartCalendarInterval = [ { Hour = 0;