diff --git a/nixos/modules/services/misc/tzupdate.nix b/nixos/modules/services/misc/tzupdate.nix index 17868e1c11716..188ef95e185da 100644 --- a/nixos/modules/services/misc/tzupdate.nix +++ b/nixos/modules/services/misc/tzupdate.nix @@ -28,7 +28,7 @@ in { wants = [ "network-online.target" ]; after = [ "network-online.target" ]; script = '' - timedatectl set-timezone $(${lib.getExe pkgs.tzupdate} --print-only) + timedatectl set-timezone "$(${lib.getExe pkgs.tzupdate} --print-only)" ''; serviceConfig = {