summary refs log tree commit diff
path: root/nixos/modules/tasks/filesystems/ext.nix
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>2017-10-07 04:52:52 +0300
committerTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>2017-10-07 11:01:01 +0300
commite86b78363d0fa153e5d5ba8db04aff9466132de2 (patch)
tree300d3eec8a0aeedb22d26897cbef465da96df429 /nixos/modules/tasks/filesystems/ext.nix
parent893df17c5a37e14616a24e66d96f3fd5e0344bce (diff)
downloadnixpkgs-e86b78363d0fa153e5d5ba8db04aff9466132de2.tar
nixpkgs-e86b78363d0fa153e5d5ba8db04aff9466132de2.tar.gz
nixpkgs-e86b78363d0fa153e5d5ba8db04aff9466132de2.tar.bz2
nixpkgs-e86b78363d0fa153e5d5ba8db04aff9466132de2.tar.lz
nixpkgs-e86b78363d0fa153e5d5ba8db04aff9466132de2.tar.xz
nixpkgs-e86b78363d0fa153e5d5ba8db04aff9466132de2.tar.zst
nixpkgs-e86b78363d0fa153e5d5ba8db04aff9466132de2.zip
nixos/filesystems/ext: Don't try to load ext3 module
This module doesn't exist since v4.3, where the ext3 driver was removed
as ext4.ko can mount ext3 filesystems as well.
Diffstat (limited to 'nixos/modules/tasks/filesystems/ext.nix')
-rw-r--r--nixos/modules/tasks/filesystems/ext.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/tasks/filesystems/ext.nix b/nixos/modules/tasks/filesystems/ext.nix
index cc9d0ef37d5..3a8999c242b 100644
--- a/nixos/modules/tasks/filesystems/ext.nix
+++ b/nixos/modules/tasks/filesystems/ext.nix
@@ -5,7 +5,8 @@
 
     system.fsPackages = [ pkgs.e2fsprogs ];
 
-    boot.initrd.availableKernelModules = [ "ext2" "ext3" "ext4" ];
+    # As of kernel 4.3, there is no separate ext3 driver (they're also handled by ext4.ko)
+    boot.initrd.availableKernelModules = [ "ext2" "ext4" ];
 
     boot.initrd.extraUtilsCommands =
       ''