diff --git a/nixos/modules/tasks/filesystems/xfs.nix b/nixos/modules/tasks/filesystems/xfs.nix index 5f9eb741c2ab..6800696a05a3 100644 --- a/nixos/modules/tasks/filesystems/xfs.nix +++ b/nixos/modules/tasks/filesystems/xfs.nix @@ -13,7 +13,7 @@ in system.fsPackages = [ pkgs.xfsprogs ]; - boot.initrd.kernelModules = mkIf inInitrd [ "xfs" "crc32c" ]; + boot.initrd.availableKernelModules = mkIf inInitrd [ "xfs" "crc32c" ]; boot.initrd.extraUtilsCommands = mkIf inInitrd ''