From 63117f917905ad8c1e1a3e044af71878952e5277 Mon Sep 17 00:00:00 2001 From: sioodmy Date: Sat, 9 Nov 2024 22:27:15 +0100 Subject: [PATCH] feat: boot partition --- hosts/pandora/default.nix | 6 ++++++ system/boot/default.nix | 10 +++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/hosts/pandora/default.nix b/hosts/pandora/default.nix index a6fbdea9..1c78df43 100644 --- a/hosts/pandora/default.nix +++ b/hosts/pandora/default.nix @@ -4,6 +4,11 @@ inputs, ... }: { + fileSystems."/boot" = { + device = "/dev/disk/by-uuid/6A3B-1D00"; + fsType = "vfat"; + options = ["noatime" "discard"]; + }; imports = [ inputs.apple-silicon-support.nixosModules.apple-silicon-support @@ -20,6 +25,7 @@ }; boot = { + binfmt.emulatedSystems = ["x86_64-linux"]; loader = { systemd-boot.enable = true; efi.canTouchEfiVariables = lib.mkForce false; diff --git a/system/boot/default.nix b/system/boot/default.nix index c41a72c6..526af46d 100644 --- a/system/boot/default.nix +++ b/system/boot/default.nix @@ -4,6 +4,14 @@ verbose = false; systemd.enable = true; }; - loader.systemd-boot.configurationLimit = 5; + loader = { + systemd-boot = { + enable = true; + configurationLimit = 10; + }; + editor = false; + # spam space to get to boot menu + timeout = 0; + }; }; }