diff --git a/nixos/doc/manual/configuration.xml b/nixos/doc/manual/configuration.xml index 051f0fb8c1e..d35a5fff4aa 100644 --- a/nixos/doc/manual/configuration.xml +++ b/nixos/doc/manual/configuration.xml @@ -1499,10 +1499,11 @@ are specific to the kernel version, such as the NVIDIA video drivers. This ensures that driver packages are consistent with the kernel. -The default Linux kernel configuration should be fine for most -users. You can see the configuration of your current kernel in -/run/booted-system/kernel-modules/config. If you -want to change the kernel configuration, you can use the +The default Linux kernel configuration should be fine for most users. You can see the configuration of your current kernel with the following command: + +cat /proc/config.gz | gunzip + +If you want to change the kernel configuration, you can use the feature (see ). For instance, to enable support for the kernel debugger KGDB: