not-os
kernel
$ nix-build -A kernel
/nix/store/0hixamqdbd2wfrqn57i7alm7i7gwy462-linux-5.4.19
The kernel derivation results in an actual kernel, a bzImage file, but also in a set of kernel modules.
The modules are packaged in the shrunk derivation, which itself is used to create the initrd.