diff --git a/nixos/modules/monitoring/exporters/node.nix b/nixos/modules/monitoring/exporters/node.nix index 8f183c112cd8246c835c6934aa073309d76a3609..bff40603c68c558e5b50b082c881e9a5af92af10 100644 --- a/nixos/modules/monitoring/exporters/node.nix +++ b/nixos/modules/monitoring/exporters/node.nix @@ -77,7 +77,7 @@ in { ) ++ ( optionals (mountsFileSystemType "xfs") [ "xfs" ] ) ++ ( - optionals (mountsFileSystemType "zfs" || elem "zfs" config.boot.supportedFilesystems) [ "zfs" ] + optionals (mountsFileSystemType "zfs" || config.boot.supportedFilesystems.zfs or false) [ "zfs" ] ); }; }