diff --git a/system/aly-server.nix b/system/aly-server.nix index e2223a8..1a2f4b3 100644 --- a/system/aly-server.nix +++ b/system/aly-server.nix @@ -15,8 +15,8 @@ services.cron = { enable = true; systemCronJobs = [ - "0 * * * * /mnt/storage/media/randomintro.sh" - "* * * * * sudo chown srv:media /mnt/storage/media/downloads -R; sudo chmod g+w /mnt/storage/media/downloads -R" + "0 * * * * root /mnt/storage/media/randomintro.sh" + "* * * * * root chown srv:media /mnt/storage/media/downloads -R; sudo chmod g+w /mnt/storage/media/downloads -R" ]; }; system.stateVersion = "25.05";