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:
parent
4f053b60ae
commit
57d05a1cbe
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue