@@ -34,23 +34,6 @@ with lib;
3434 type = types.lines;
3535 };
3636
37− boot.initrd.extraModprobeConfig = mkOption {
38− default = "";
39− example =
40− ''
41− options zfs zfs_arc_max=1073741824
42− '';
43− description = ''
44− Does exactly the same thing as
45− <option>boot.extraModprobeConfig</option>, except
46− that the generated <filename>modprobe.conf</filename>
47− file is also included in the initrd.
48− This is useful for setting module options for kernel
49− modules that are loaded during early boot in the initrd.
50− '';
51− type = types.lines;
52− };
53−
5437 };
5538
5639
@@ -67,9 +50,6 @@ with lib;
6750 '')}
6851 ${config.boot.extraModprobeConfig}
6952 '';
70− environment.etc."modprobe.d/nixos-initrd.conf".text = ''
71− ${config.boot.initrd.extraModprobeConfig}
72− '';
7353 environment.etc."modprobe.d/debian.conf".source = pkgs.kmod-debian-aliases;
7454
7555 environment.etc."modprobe.d/systemd.conf".source = "${pkgs.systemd}/lib/modprobe.d/systemd.conf";