boot.loader.systemd-boot.editor

NixOS option

Whether to allow editing the kernel command-line before boot. It is recommended to set this to false, as it allows gaining root access by passing init=/bin/sh as a kernel parameter. However, it is enabled by default for backwards compatibility.

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