File tree 3 files changed +7
-2
lines changed
nixos/modules/system/boot
3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 223
223
'' ;
224
224
} ;
225
225
226
+ boot . initrd . allowMissingModules = mkEnableOption ''
227
+ not including modules from `kernelModules` /
228
+ `availableKernelModules` in initrd when the kernel doesn't have
229
+ them'' ;
230
+
226
231
system . modulesTree = mkOption {
227
232
type = types . listOf types . path ;
228
233
internal = true ;
Original file line number Diff line number Diff line change 18
18
rootModules = config . boot . initrd . availableKernelModules ++ config . boot . initrd . kernelModules ;
19
19
kernel = config . system . modulesTree ;
20
20
firmware = config . hardware . firmware ;
21
- allowMissing = false ;
21
+ allowMissing = config . boot . initrd . allowMissingModules ;
22
22
} ;
23
23
24
24
Original file line number Diff line number Diff line change 104
104
rootModules = config . boot . initrd . availableKernelModules ++ config . boot . initrd . kernelModules ;
105
105
kernel = config . system . modulesTree ;
106
106
firmware = config . hardware . firmware ;
107
- allowMissing = false ;
107
+ allowMissing = config . boot . initrd . allowMissingModules ;
108
108
} ;
109
109
110
110
initrdBinEnv = pkgs . buildEnv {
You can’t perform that action at this time.
0 commit comments