summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--modules/systemd-boot.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/systemd-boot.nix b/modules/systemd-boot.nix
index 4f7ca361..80e79fdc 100644
--- a/modules/systemd-boot.nix
+++ b/modules/systemd-boot.nix
@@ -1,6 +1,9 @@
 { config, pkgs, ... }:
 
-{ boot.loader.systemd-boot.enable = true;
+{ boot.loader.systemd-boot = {
+    enable = true;
+    editor = false; # Don't allow modification
+  };
   boot.loader.efi.canTouchEfiVariables = true;
   boot.vesa = true;
   boot.earlyVconsoleSetup = true;