mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00: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 {
|
dates = lib.mkOption {
|
||||||
default = [ "03:45" ];
|
default = [ "03:45" ];
|
||||||
type = with lib.types; listOf str;
|
apply = lib.toList;
|
||||||
|
type = with lib.types; either singleLineStr (listOf str);
|
||||||
description = ''
|
description = ''
|
||||||
Specification (in the format described by
|
Specification (in the format described by
|
||||||
{manpage}`systemd.time(7)`) of the time at
|
{manpage}`systemd.time(7)`) of the time at
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue