From bf94b004efb08fa375a4115578a35f6fe7d38d98 Mon Sep 17 00:00:00 2001
From: lassulus <git@lassul.us>
Date: Sat, 8 Jul 2023 16:40:32 +0200
Subject: [PATCH] l boot: add uniersal boot method

---
 lass/2configs/boot/universal.nix | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 lass/2configs/boot/universal.nix

diff --git a/lass/2configs/boot/universal.nix b/lass/2configs/boot/universal.nix
new file mode 100644
index 000000000..33f4323cc
--- /dev/null
+++ b/lass/2configs/boot/universal.nix
@@ -0,0 +1,11 @@
+{ ... }:
+
+{
+  boot = {
+    loader.grub.enable = true;
+    loader.grub.version = 2;
+    loader.grub.device = "/dev/sda";
+    loader.grub.efiSupport = true;
+    loader.grub.efiInstallAsRemovable = true;
+  };
+}