Skip to content

Commit

Permalink
feat: boot partition
Browse files Browse the repository at this point in the history
  • Loading branch information
sioodmy committed Nov 9, 2024
1 parent a0a970f commit 63117f9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
6 changes: 6 additions & 0 deletions hosts/pandora/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -20,6 +25,7 @@
};

boot = {
binfmt.emulatedSystems = ["x86_64-linux"];
loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = lib.mkForce false;
Expand Down
10 changes: 9 additions & 1 deletion system/boot/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
};
}

0 comments on commit 63117f9

Please sign in to comment.