Refactor
This commit is contained in:
parent
556e0e1eb2
commit
e0a82ee731
49 changed files with 1076 additions and 765 deletions
36
modules/common/plymouth.nix
Normal file
36
modules/common/plymouth.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
boot = {
|
||||
plymouth.enable = true;
|
||||
plymouth.theme = "spinner";
|
||||
consoleLogLevel = 3;
|
||||
initrd.verbose = false;
|
||||
|
||||
# Ajouts "quiet/splash" propres (sans auto-référence)
|
||||
kernelParams = lib.mkAfter [
|
||||
"mem_sleep_default=deep"
|
||||
"quiet"
|
||||
"splash"
|
||||
"boot.shell_on_fail"
|
||||
"udev.log_priority=3"
|
||||
"rd.systemd.show_status=auto"
|
||||
];
|
||||
|
||||
loader = {
|
||||
timeout = 5;
|
||||
systemd-boot.enable = true;
|
||||
systemd-boot.consoleMode = "max";
|
||||
efi = {
|
||||
canTouchEfiVariables = true;
|
||||
efiSysMountPoint = "/boot";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
nixos-bgrt-plymouth
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue