services.zfs.autoSnapshot.flags

NixOS option

Flags to pass to the zfs-auto-snapshot command. Run zfs-auto-snapshot (without any arguments) to see available flags. If it’s not too inconvenient for snapshots to have timestamps in UTC, it is suggested that you append --utc to the list of default options (see example). Otherwise, snapshot names can cause name conflicts or apparent time reversals due to daylight savings, timezone or other date/time changes.

type: string
Default
"-k -p"
Example
"-k -p --utc"
declared in: nixos/modules/tasks/filesystems/zfs.nixView source on NixOS/nixpkgs →