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