diff --git a/nixos/modules/services/backup/sanoid.nix b/nixos/modules/services/backup/sanoid.nix index 41d0e2e1df68..e70063415ec0 100644 --- a/nixos/modules/services/backup/sanoid.nix +++ b/nixos/modules/services/backup/sanoid.nix @@ -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 "zfs" 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; };