Update paths for NixOS.

This commit is contained in:
Joseph Hanson 2024-07-09 08:54:09 -05:00
parent 8100eec3e0
commit 8cc98e4f32
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o

View file

@ -76,14 +76,14 @@ spec:
zfs: zfs:
# can be used to override defaults if necessary # can be used to override defaults if necessary
# the example below is useful for TrueNAS 12 # the example below is useful for NixOS
#cli: cli:
# sudoEnabled: true sudoEnabled: true
# paths: paths:
# zfs: /usr/local/sbin/zfs zfs: /run/current-system/sw/bin/zfs
# zpool: /usr/local/sbin/zpool zpool: /run/current-system/sw/bin/zpool
# sudo: /usr/local/bin/sudo sudo: /run/wrappers/bin/sudo
# chroot: /usr/sbin/chroot chroot: /run/current-system/sw/bin/chroot
# can be used to set arbitrary values on the dataset/zvol # can be used to set arbitrary values on the dataset/zvol
# can use handlebars templates with the parameters from the storage class/CO # can use handlebars templates with the parameters from the storage class/CO