Split out the bootloaders and have no default. Fuck you Grub

This commit is contained in:
Bun 2025-03-24 02:08:24 -04:00
parent 0738ea2b90
commit 0c78b13ceb
6 changed files with 11 additions and 14 deletions

View file

@ -1,4 +1,7 @@
{ pkgs, ... }:
{
boot.kernelPackages = pkgs.linuxPackages_5_15_hardened;
boot = {
kernelPackages = pkgs.linuxPackages_5_15_hardened;
loader.systemd-boot.enable = true;
};
}

View file

@ -2,6 +2,7 @@
{
boot = {
kernelPackages = pkgs.linuxPackages_latest;
loader.systemd-boot.enable = true;
plymouth.enable = true;
};
}

View file

@ -1,4 +1,7 @@
{ pkgs, ... }:
{
boot.kernelPackages = pkgs.linuxPackages_hardened;
boot = {
kernelPackages = pkgs.linuxPackages_hardened;
loader.systemd-boot.enable = true;
};
}

View file

@ -17,14 +17,6 @@
fsType = "ext4";
options = [ "nosuid" "nodev" "nofail" "x-gvfs-show" ];
};
"/mnt/Windows1" = {
device = "/dev/disk/by-uuid/48F5C6E06416229C";
options = [ "nosuid" "nodev" "noauto" ];
};
"/mnt/Windows2" = {
device = "/dev/disk/by-uuid/0A5A3420237C863A";
options = [ "nosuid" "nodev" "noauto" ];
};
# Bulk storage mounts
"/persist/var/lib/libvirt" = {

View file

@ -3,7 +3,6 @@
imports = [ lanzaboote.nixosModules.lanzaboote ];
boot = lib.mkIf config.boot.lanzaboote.enable {
loader.systemd-boot.enable = lib.mkForce false;
lanzaboote.pkiBundle = "/etc/secureboot";
};

View file

@ -1,7 +1,6 @@
{ ... }:
{ config, lib, ... }:
{
boot.loader.systemd-boot = {
enable = true;
boot.loader.systemd-boot = lib.mkIf config.boot.loader.systemd-boot.enable {
editor = false;
graceful = true;
};