nixos module zfs: provide /etc/zfs/zpool.d

The scripts for zpool iostat -c and zpool status -c are located in
/etc/zfs/zpool.d
This commit is contained in:
Frank Doepper 2019-10-02 12:34:09 +02:00
parent 2c117aec37
commit 3065d00d74

View file

@ -392,6 +392,7 @@ in
};
environment.etc."zfs/zed.d".source = "${packages.zfsUser}/etc/zfs/zed.d/";
environment.etc."zfs/zpool.d".source = "${packages.zfsUser}/etc/zfs/zpool.d/";
system.fsPackages = [ packages.zfsUser ]; # XXX: needed? zfs doesn't have (need) a fsck
environment.systemPackages = [ packages.zfsUser ]