fix: do not allow edits to the bootloader #92
@@ -4,6 +4,8 @@
|
|||||||
# set bootloader to systemd
|
# set bootloader to systemd
|
||||||
boot.loader = {
|
boot.loader = {
|
||||||
systemd-boot.enable = true;
|
systemd-boot.enable = true;
|
||||||
|
# no kernel command line editing at the boot menu (e.g. init=/bin/sh)
|
||||||
|
systemd-boot.editor = false;
|
||||||
efi.canTouchEfiVariables = true;
|
efi.canTouchEfiVariables = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user