summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
authorAlan Pearce2017-09-15 14:00:45 +0200
committerAlan Pearce2017-09-15 14:00:45 +0200
commit28e8cdf197e28662d2933daa2a742cff91ed05af (patch)
tree1fe469e3fdb49921c59fd55a95e258ff2d38095b /modules
parent3cd6ae385ed8ac2efd7b63ab6bd698ea8efc0c67 (diff)
downloadnixos-configuration-28e8cdf197e28662d2933daa2a742cff91ed05af.tar.lz
nixos-configuration-28e8cdf197e28662d2933daa2a742cff91ed05af.tar.zst
nixos-configuration-28e8cdf197e28662d2933daa2a742cff91ed05af.zip
systemd-boot: Don't allow modifying boot options
Diffstat (limited to 'modules')
-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 4f7ca36..80e79fd 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;