34 lines
682 B
Nix
34 lines
682 B
Nix
{
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: let
|
|
inherit (lib.modules) mkForce;
|
|
in {
|
|
boot = {
|
|
initrd = {
|
|
verbose = true;
|
|
systemd.enable = true;
|
|
};
|
|
loader = {
|
|
efi.canTouchEfiVariables = true;
|
|
systemd-boot = {
|
|
enable = true;
|
|
editor = mkForce false;
|
|
configurationLimit = 5;
|
|
};
|
|
grub = {
|
|
enable = false;
|
|
efiSupport = true;
|
|
device = "nodev";
|
|
configurationLimit = 5;
|
|
};
|
|
};
|
|
plymouth = {
|
|
enable = false;
|
|
# font = "${pkgs.jetbrains-mono}/share/fonts/truetype/JetBrainsMono-Regular.ttf";
|
|
themePackages = [pkgs.plymouth-matrix-theme];
|
|
theme = "matrix";
|
|
};
|
|
};
|
|
}
|