boot/module.nix: switch to sytemd-boot

This commit is contained in:
Charlie Root 2025-04-06 21:22:56 +02:00
commit edaa90d993
Signed by: faukah
SSH key fingerprint: SHA256:Uj2AXqvtdCA4hn5Hq0ZonhIAyUqI1q4w2sMG3Z1TH7E

View file

@ -1,17 +1,28 @@
{pkgs, ...}: { {pkgs, ...}: {
boot.loader = { boot = {
initrd = {
verbose = true;
systemd.enable = true;
};
loader = {
efi.canTouchEfiVariables = true; efi.canTouchEfiVariables = true;
grub = { systemd-boot = {
enable = true; enable = true;
editor = true;
configurationLimit = 5;
};
grub = {
enable = false;
efiSupport = true; efiSupport = true;
device = "nodev"; device = "nodev";
configurationLimit = 5; configurationLimit = 5;
}; };
}; };
boot.plymouth = { plymouth = {
enable = true; enable = false;
# font = "${pkgs.jetbrains-mono}/share/fonts/truetype/JetBrainsMono-Regular.ttf"; # font = "${pkgs.jetbrains-mono}/share/fonts/truetype/JetBrainsMono-Regular.ttf";
themePackages = [pkgs.catppuccin-plymouth]; themePackages = [pkgs.catppuccin-plymouth];
theme = "catppuccin-macchiato"; theme = "catppuccin-macchiato";
}; };
};
} }