summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2017-09-09 19:33:49 +0200
committerAlan Pearce2017-09-09 19:33:49 +0200
commit9a3f32686b6da2e86d55fa986fac935128b37bc1 (patch)
treeb014b84387395cb3fadf2378c8ac24dbd7c02e71
parent9c28f332eb6719b5625f674ff0844ef614d11649 (diff)
downloadnixfiles-9a3f32686b6da2e86d55fa986fac935128b37bc1.tar.lz
nixfiles-9a3f32686b6da2e86d55fa986fac935128b37bc1.tar.zst
nixfiles-9a3f32686b6da2e86d55fa986fac935128b37bc1.zip
Add systemd-boot module
-rw-r--r--modules/systemd-boot.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/systemd-boot.nix b/modules/systemd-boot.nix
new file mode 100644
index 00000000..4f7ca361
--- /dev/null
+++ b/modules/systemd-boot.nix
@@ -0,0 +1,7 @@
+{ config, pkgs, ... }:
+
+{ boot.loader.systemd-boot.enable = true;
+  boot.loader.efi.canTouchEfiVariables = true;
+  boot.vesa = true;
+  boot.earlyVconsoleSetup = true;
+}