3
0
Fork 0
forked from mirrors/nixpkgs

nixos/sanoid: allow zfs value for recursive

This commit is contained in:
misuzu 2021-09-02 14:35:30 +03:00
parent 8d8a28b47b
commit df972a3dde

View file

@ -57,8 +57,13 @@ let
useTemplate = use_template;
recursive = mkOption {
description = "Whether to recursively snapshot dataset children.";
type = types.bool;
description = ''
Whether to recursively snapshot dataset children.
You can also set this to <literal>"zfs"</literal> to handle datasets
recursively in an atomic way without the possibility to
override settings for child datasets.
'';
type = with types; oneOf [ bool (enum [ "zfs" ]) ];
default = false;
};