diff options
author | Frank Doepper <woffs@woffs.de> | 2019-10-02 12:34:09 +0200 |
---|---|---|
committer | Frank Doepper <woffs@woffs.de> | 2019-10-02 12:34:09 +0200 |
commit | 3065d00d74db70c74b1eee93b91f9e9d7656d527 (patch) | |
tree | 0fdaf941d22b89dfcd9d261a57b068954aa59c86 /nixos/modules/tasks | |
parent | 2c117aec376244aa3daf3020b0691dcad1de7492 (diff) |
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
Diffstat (limited to 'nixos/modules/tasks')
-rw-r--r-- | nixos/modules/tasks/filesystems/zfs.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/tasks/filesystems/zfs.nix b/nixos/modules/tasks/filesystems/zfs.nix index cfdc0a31020b..e953ed81951d 100644 --- a/nixos/modules/tasks/filesystems/zfs.nix +++ b/nixos/modules/tasks/filesystems/zfs.nix @@ -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 ] |