summary refs log tree commit diff stats
path: root/system/modules/hardware/systemd-boot.nix
diff options
context:
space:
mode:
Diffstat (limited to 'system/modules/hardware/systemd-boot.nix')
-rw-r--r--system/modules/hardware/systemd-boot.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/system/modules/hardware/systemd-boot.nix b/system/modules/hardware/systemd-boot.nix
new file mode 100644
index 00000000..80e79fdc
--- /dev/null
+++ b/system/modules/hardware/systemd-boot.nix
@@ -0,0 +1,10 @@
+{ config, pkgs, ... }:
+
+{ boot.loader.systemd-boot = {
+    enable = true;
+    editor = false; # Don't allow modification
+  };
+  boot.loader.efi.canTouchEfiVariables = true;
+  boot.vesa = true;
+  boot.earlyVconsoleSetup = true;
+}