mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
truely silent boot has been achieved
This commit is contained in:
parent
04f7e566b4
commit
5cd0f03cb3
5 changed files with 222 additions and 3 deletions
36
modules/boot/default.nix
Normal file
36
modules/boot/default.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
_: {
|
||||
lib,
|
||||
modulesPath,
|
||||
...
|
||||
}: {
|
||||
disabledModules = ["${modulesPath}/system/boot/stage-2.nix"];
|
||||
imports = [
|
||||
./stage-2.nix
|
||||
];
|
||||
environment.etc = {
|
||||
"issue" = {
|
||||
text = "[?12l[?25h";
|
||||
mode = "0444";
|
||||
};
|
||||
};
|
||||
boot = {
|
||||
blacklistedKernelModules = ["nouveau" "lbm-nouveau" "pcspkr"];
|
||||
kernelParams = ["fbcon=nodefer" "bgrt_disable" "quiet" "systemd.show_status=false" "rd.udev.log_level=3" "vt.global_cursor_default=0"];
|
||||
consoleLogLevel = 3;
|
||||
initrd.verbose = false;
|
||||
plymouth = {
|
||||
enable = lib.mkDefault true;
|
||||
theme = "breeze";
|
||||
logo = ../misc/nixos.png;
|
||||
};
|
||||
loader = {
|
||||
systemd-boot = {
|
||||
enable = lib.mkDefault true;
|
||||
consoleMode = "max";
|
||||
editor = false;
|
||||
};
|
||||
efi.canTouchEfiVariables = lib.mkDefault true;
|
||||
timeout = 0;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue