about summary refs log tree commit diff
path: root/nixos/modules/tasks/filesystems
diff options
context:
space:
mode:
authorVladimír Čunát <v@cunat.cz>2021-01-13 15:22:41 +0100
committerVladimír Čunát <v@cunat.cz>2021-01-13 15:25:19 +0100
commit9e2880e5fa0cda607ad670cde12dc93735d2f97a (patch)
tree313628cc184c74d727bc6eda03e891fc6d45699f /nixos/modules/tasks/filesystems
parenta76f0696cc4b2e3503e08f0e02eeeccd896139c4 (diff)
downloadnixlib-9e2880e5fa0cda607ad670cde12dc93735d2f97a.tar
nixlib-9e2880e5fa0cda607ad670cde12dc93735d2f97a.tar.gz
nixlib-9e2880e5fa0cda607ad670cde12dc93735d2f97a.tar.bz2
nixlib-9e2880e5fa0cda607ad670cde12dc93735d2f97a.tar.lz
nixlib-9e2880e5fa0cda607ad670cde12dc93735d2f97a.tar.xz
nixlib-9e2880e5fa0cda607ad670cde12dc93735d2f97a.tar.zst
nixlib-9e2880e5fa0cda607ad670cde12dc93735d2f97a.zip
nixos ISO image: revert another part of 8ca33835ba
Diffstat (limited to 'nixos/modules/tasks/filesystems')
-rw-r--r--nixos/modules/tasks/filesystems/ext.nix7
1 files changed, 2 insertions, 5 deletions
diff --git a/nixos/modules/tasks/filesystems/ext.nix b/nixos/modules/tasks/filesystems/ext.nix
index 67f6d00ae5c9..a14a3ac38549 100644
--- a/nixos/modules/tasks/filesystems/ext.nix
+++ b/nixos/modules/tasks/filesystems/ext.nix
@@ -1,4 +1,4 @@
-{ pkgs, lib, ... }:
+{ pkgs, ... }:
 
 {
   config = {
@@ -6,10 +6,7 @@
     system.fsPackages = [ pkgs.e2fsprogs ];
 
     # As of kernel 4.3, there is no separate ext3 driver (they're also handled by ext4.ko)
-    # No ext* modules are present on our aarch64, apparently (and maybe elsewhere).
-    boot.initrd.availableKernelModules =
-      lib.optionals (!pkgs.stdenv.hostPlatform.isAarch64)
-        [ "ext2" "ext4" ];
+    boot.initrd.availableKernelModules = [ "ext2" "ext4" ];
 
     boot.initrd.extraUtilsCommands =
       ''