nichts/modules/system/boot/module.nix

35 lines
682 B
Nix
Raw Normal View History

2025-04-06 21:43:36 +02:00
{
lib,
pkgs,
...
}: let
inherit (lib.modules) mkForce;
in {
2025-04-06 21:22:56 +02:00
boot = {
initrd = {
verbose = true;
systemd.enable = true;
};
loader = {
efi.canTouchEfiVariables = true;
systemd-boot = {
enable = true;
2025-04-06 21:43:36 +02:00
editor = mkForce false;
2025-04-06 21:22:56 +02:00
configurationLimit = 5;
};
grub = {
enable = false;
efiSupport = true;
device = "nodev";
configurationLimit = 5;
};
};
plymouth = {
enable = false;
# font = "${pkgs.jetbrains-mono}/share/fonts/truetype/JetBrainsMono-Regular.ttf";
2025-04-06 21:43:36 +02:00
themePackages = [pkgs.plymouth-matrix-theme];
theme = "matrix";
2024-07-28 11:00:54 +02:00
};
};
}