diff options
author | Alan Pearce | 2017-09-15 14:00:45 +0200 |
---|---|---|
committer | Alan Pearce | 2017-09-15 14:00:45 +0200 |
commit | 28e8cdf197e28662d2933daa2a742cff91ed05af (patch) | |
tree | 1fe469e3fdb49921c59fd55a95e258ff2d38095b /modules/systemd-boot.nix | |
parent | 3cd6ae385ed8ac2efd7b63ab6bd698ea8efc0c67 (diff) | |
download | nixfiles-28e8cdf197e28662d2933daa2a742cff91ed05af.tar.lz nixfiles-28e8cdf197e28662d2933daa2a742cff91ed05af.tar.zst nixfiles-28e8cdf197e28662d2933daa2a742cff91ed05af.zip |
systemd-boot: Don't allow modifying boot options
Diffstat (limited to 'modules/systemd-boot.nix')
-rw-r--r-- | modules/systemd-boot.nix | 5 |
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; |