3
0
Fork 0
forked from mirrors/nixpkgs

Always load the "configs" kernel module

We used to have the configuration of the kernel available in a
somewhat convenient place (/run/booted-system/kernel-modules/config)
but that has disappeared.  So instead just make /proc/configs.gz
available.  It only eats a few kilobytes.
This commit is contained in:
Eelco Dolstra 2014-03-05 15:20:59 +01:00
parent 97d291d040
commit 6572708d39

View file

@ -159,7 +159,7 @@ in
boot.kernel.sysctl."kernel.printk" = config.boot.consoleLogLevel;
boot.kernelModules = [ "loop" ];
boot.kernelModules = [ "loop" "configs" ];
boot.initrd.availableKernelModules =
[ # Note: most of these (especially the SATA/PATA modules)