Merge pull request #136460 from misuzu/sanoid-recursive-zfs

nixos/sanoid: allow zfs value for recursive

authored by Elis Hirwing and committed by GitHub eac62156 55add811

+7 -2
+7 -2
nixos/modules/services/backup/sanoid.nix
··· 57 useTemplate = use_template; 58 59 recursive = mkOption { 60 - description = "Whether to recursively snapshot dataset children."; 61 - type = types.bool; 62 default = false; 63 }; 64
··· 57 useTemplate = use_template; 58 59 recursive = mkOption { 60 + description = '' 61 + Whether to recursively snapshot dataset children. 62 + You can also set this to <literal>"zfs"</literal> to handle datasets 63 + recursively in an atomic way without the possibility to 64 + override settings for child datasets. 65 + ''; 66 + type = with types; oneOf [ bool (enum [ "zfs" ]) ]; 67 default = false; 68 }; 69