about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-10-13 17:18:42 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-10-13 17:35:57 +0200
commit3e001244e4c53b6351ffe4f634fc545a05d626d7 (patch)
tree7dadec1a0b166db90b2524640c57d5b0926cff6e /nixos
parent9b8847eb91bb8f610ac1b2b4c28bafdae875e963 (diff)
downloadnixlib-3e001244e4c53b6351ffe4f634fc545a05d626d7.tar
nixlib-3e001244e4c53b6351ffe4f634fc545a05d626d7.tar.gz
nixlib-3e001244e4c53b6351ffe4f634fc545a05d626d7.tar.bz2
nixlib-3e001244e4c53b6351ffe4f634fc545a05d626d7.tar.lz
nixlib-3e001244e4c53b6351ffe4f634fc545a05d626d7.tar.xz
nixlib-3e001244e4c53b6351ffe4f634fc545a05d626d7.tar.zst
nixlib-3e001244e4c53b6351ffe4f634fc545a05d626d7.zip
Load the xfs kernel module on demand
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/tasks/filesystems/xfs.nix2
1 files changed, 1 insertions, 1 deletions
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
       ''