boot.loader.initScript.enable

NixOS option

Some systems require a /sbin/init script which is started. Or having it makes starting NixOS easier. This applies to some kind of hosting services and user mode linux. Additionally this script will create /boot/init-other-configurations-contents.txt containing contents of remaining configurations. You can copy paste them into /sbin/init manually running a rescue system or such.

type: boolean
Default
false
declared in: nixos/modules/system/boot/loader/init-script/init-script.nixView source on NixOS/nixpkgs →