summaryrefslogtreecommitdiffstats
path: root/lass/2configs
diff options
context:
space:
mode:
authorlassulus <git@lassul.us>2023-07-08 16:40:32 +0200
committerlassulus <git@lassul.us>2023-07-08 16:40:32 +0200
commitbf94b004efb08fa375a4115578a35f6fe7d38d98 (patch)
tree41c6b8612d68f307ee7ff7141760016b84b8eeeb /lass/2configs
parentd89a10ffec96bba4e367ace42b7fc9afed99abc5 (diff)
l boot: add uniersal boot method
Diffstat (limited to 'lass/2configs')
-rw-r--r--lass/2configs/boot/universal.nix11
1 files changed, 11 insertions, 0 deletions
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;
+ };
+}