From 3e001244e4c53b6351ffe4f634fc545a05d626d7 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 13 Oct 2013 17:18:42 +0200 Subject: [PATCH] Load the xfs kernel module on demand --- nixos/modules/tasks/filesystems/xfs.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ''