nixpkgs/nixos/modules/system/boot/loader/init-script
..
init-script-builder.sh
init-script.nix