MyNixOS website logo
option

services.btrbk.instances.<name>.settings

configuration options for btrbk. Nested attrsets translate to subsections.

Declarations
Type
attribute set of (string or instances of this type recursively)
Default
{ }
Example
{
  snapshot_preserve = "14d";
  snapshot_preserve_min = "2d";
  volume = {
    "/mnt/btr_pool" = {
      subvolume = {
        home = {
          snapshot_create = "always";
        };
        rootfs = { };
      };
      target = "/mnt/btr_backup/mylaptop";
    };
  };
}