From db13c20bee236ce5023bad69e0dcbf65b318ed04 Mon Sep 17 00:00:00 2001 From: Florian Sesser <florian@leastauthority.com> Date: Wed, 5 Jun 2024 14:44:06 +0000 Subject: [PATCH] Update checking for supported filesystems as per NixOS 24.05 release notes --- nixos/modules/monitoring/exporters/node.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/monitoring/exporters/node.nix b/nixos/modules/monitoring/exporters/node.nix index 8f183c11..bff40603 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" ] ); }; } -- GitLab