diff options
Diffstat (limited to 'pkgs/populate/lib/types')
| -rw-r--r-- | pkgs/populate/lib/types/populate.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/pkgs/populate/lib/types/populate.nix b/pkgs/populate/lib/types/populate.nix index 8e74c5e..eeb4a84 100644 --- a/pkgs/populate/lib/types/populate.nix +++ b/pkgs/populate/lib/types/populate.nix @@ -133,6 +133,23 @@ default = false; type = lib.types.bool; }; + # What the run record tells about what got delivered, besides + # whether it changed, see populate's README. + record = lib.mkOption { + default = null; + type = lib.types.nullOr (lib.types.submodule { + options = { + commit = lib.mkOption { + default = false; + type = lib.types.bool; + }; + digest = lib.mkOption { + default = false; + type = lib.types.bool; + }; + }; + }); + }; exclude = lib.mkOption { apply = x: if x != [] then |
