I set my kernel up with
boot.crashDump.enable = 1 to debug a system freeze, and now wanted to know what/where the
vmlinux corresponding to my kernel is (this might be required for inspecting the crash).
bzImage is at:
vmlinux the following worked in a
> flake = builtins.getFlake(/etc/nixos) > flake.outputs.nixosConfigurations.<my-system-name>.config.system.build.kernel.dev.outPath
gave me the path to the folder that contains the
...build.kernel.outPath gave me the same folder as the one that is linked by
/run/current-system/kernel, so this seems to match up.