0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

nixos/nix-optimise: allow dates to be a single line str

This commit is contained in:
isabel 2025-05-08 13:21:44 +01:00
parent 4f053b60ae
commit 57d05a1cbe
No known key found for this signature in database
GPG key ID: 3E7C7A1B5DEDBB03

View file

@ -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