add plymouth
This commit is contained in:
parent
a15ffef4ce
commit
25cc3e0040
4 changed files with 29 additions and 0 deletions
|
@ -3,5 +3,6 @@
|
|||
isGraphical = true;
|
||||
imports = [
|
||||
./kde
|
||||
./graphical/plymouth.nix
|
||||
];
|
||||
}
|
||||
|
|
17
config/graphical/plymouth.nix
Normal file
17
config/graphical/plymouth.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{config, ...}: {
|
||||
boot = {
|
||||
plymouth.enable = true;
|
||||
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;
|
||||
};
|
||||
}
|
5
config/verbose.nix
Normal file
5
config/verbose.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{...}: {
|
||||
disabledModules = [
|
||||
./graphical/plymouth.nix
|
||||
];
|
||||
}
|
|
@ -18,5 +18,11 @@
|
|||
./graphical.nix
|
||||
];
|
||||
};
|
||||
specialisation.graphical-verbose = {
|
||||
configuration.imports = [
|
||||
./graphical.nix
|
||||
"${nixos-config}/config/verbose.nix"
|
||||
];
|
||||
};
|
||||
isInstaller = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue