Unverified Commit 57d05a1c authored by isabel's avatar isabel
Browse files

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

parent 4f053b60
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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