mirror of
https://github.com/bartvdbraak/dotfiles.git
synced 2025-06-28 20:29:10 +00:00
Add custom bootloader
This commit is contained in:
parent
91b4f46f3b
commit
454d2b9341
2 changed files with 40 additions and 98 deletions
|
@ -2,16 +2,31 @@
|
|||
|
||||
{
|
||||
# Bootloader options
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
boot.loader.timeout = 2;
|
||||
boot.initrd.enable = true;
|
||||
boot.initrd.systemd.enable = true;
|
||||
boot.consoleLogLevel = 3;
|
||||
boot.plymouth = {
|
||||
enable = true;
|
||||
font = "${pkgs.jetbrains-mono}/share/fonts/truetype/JetBrainsMono-Regular.ttf";
|
||||
themePackages = [ pkgs.nixos-bgrt-plymouth ];
|
||||
theme = "nixos-bgrt";
|
||||
boot = {
|
||||
# Enable Plymouth
|
||||
plymouth = {
|
||||
enable = true;
|
||||
font = "${pkgs.jetbrains-mono}/share/fonts/truetype/JetBrainsMono-Regular.ttf";
|
||||
themePackages = with pkgs; [
|
||||
(adi1090x-plymouth-themes.override {
|
||||
selected_themes = [ "motion" ];
|
||||
})
|
||||
];
|
||||
theme = "motion";
|
||||
};
|
||||
|
||||
# Enable "Silent Boot"
|
||||
consoleLogLevel = 0;
|
||||
initrd.verbose = false;
|
||||
kernelParams = [
|
||||
"quiet"
|
||||
"splash"
|
||||
"boot.shell_on_fail"
|
||||
"loglevel=3"
|
||||
"rd.systemd.show_status=false"
|
||||
"rd.udev.log_level=3"
|
||||
"udev.log_priority=3"
|
||||
];
|
||||
loader.timeout = 0;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue