Linux kernel development with Nix/Nixpkgs

What is your workflow to setup development environment for Linux kernel development and to test custom Linux kernel source?

BTW, the facility to build User-Mode Linux (UML) and to run Linux Kernel Selftests (Kselftest).