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;