summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatasha Moongrave <natasha@256phi.eu>2026-03-24 20:17:25 +0100
committerNatasha Moongrave <natasha@256phi.eu>2026-03-24 20:17:25 +0100
commit275eefe46e448544fb51a5ea326dcbf989575242 (patch)
treefcb240747a6f0e4adc7a96ab7d2ea1df5705d8a0
parentad7eb9b63cccbbb063724947c91453dcb7d9ad33 (diff)
Added boot.nix configuration
-rw-r--r--global/system/boot.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/global/system/boot.nix b/global/system/boot.nix
new file mode 100644
index 0000000..248d087
--- /dev/null
+++ b/global/system/boot.nix
@@ -0,0 +1,26 @@
+{pkgs}: {
+ boot = {
+ kernelPackages = pkgs.linuxPackages_latest;
+ initrd = {
+ kernelModules = ["i915"];
+ systemd.enable = true;
+ };
+ loader = {
+ efi = {
+ canTouchEfiVariables = true;
+ efiSysMountPoint = "/boot";
+ };
+ grub = {
+ enable = true;
+ device = "nodev";
+ useOSProber = true;
+ efiSupport = true;
+ };
+ systemd-boot = {
+ enable = false;
+ consoleMode = "keep";
+ configurationLimit = 5;
+ };
+ };
+ };
+}