nixos/kernel: obtain in-tree kernel modules via the modules output
This commit is contained in:
parent
71a314ae4e
commit
ca9040f22c
@ -387,7 +387,7 @@ in
|
||||
(mkIf config.boot.kernel.enable {
|
||||
system.build = { inherit kernel; };
|
||||
|
||||
system.modulesTree = [ kernel ] ++ config.boot.extraModulePackages;
|
||||
system.modulesTree = [ (lib.getOutput "modules" kernel) ] ++ config.boot.extraModulePackages;
|
||||
|
||||
# Not required for, e.g., containers as they don't have their own kernel or initrd.
|
||||
# They boot directly into stage 2.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user