From 4a4c051a95b6b8da3a13d7955087e915e6dd4bf7 Mon Sep 17 00:00:00 2001 From: aszlig Date: Sun, 24 Aug 2014 18:19:56 +0200 Subject: [PATCH] nixos: Remove modprobe.d/nixos.conf from initrd. For example in VM tests, this causes firmware to be included in the initrd. So until we have a better fix for adding early-stage module options, I'll remove this. Fixes a regression introduced by 0aa2c1d and closes #3764. Signed-off-by: aszlig --- nixos/modules/system/boot/stage-1.nix | 3 --- 1 file changed, 3 deletions(-) diff --git a/nixos/modules/system/boot/stage-1.nix b/nixos/modules/system/boot/stage-1.nix index 1d387805443..426da778f43 100644 --- a/nixos/modules/system/boot/stage-1.nix +++ b/nixos/modules/system/boot/stage-1.nix @@ -199,9 +199,6 @@ let { object = pkgs.writeText "mdadm.conf" config.boot.initrd.mdadmConf; symlink = "/etc/mdadm.conf"; } - { object = config.environment.etc."modprobe.d/nixos.conf".source; - symlink = "/etc/modprobe.d/nixos.conf"; - } { object = pkgs.stdenv.mkDerivation { name = "initrd-kmod-blacklist-ubuntu"; builder = pkgs.writeText "builder.sh" ''