diff --git a/nixos/modules/services/misc/nix-optimise.nix b/nixos/modules/services/misc/nix-optimise.nix index 42f60b77a5b4..3581b95ce18a 100644 --- a/nixos/modules/services/misc/nix-optimise.nix +++ b/nixos/modules/services/misc/nix-optimise.nix @@ -15,7 +15,8 @@ in dates = lib.mkOption { default = [ "03:45" ]; - type = with lib.types; listOf str; + apply = lib.toList; + type = with lib.types; either singleLineStr (listOf str); description = '' Specification (in the format described by {manpage}`systemd.time(7)`) of the time at