Enable Plymouth on desktops
This commit is contained in:
parent
8aaa3103c2
commit
897f9671d7
|
@ -1,4 +1,4 @@
|
||||||
{ lib, config, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
config = lib.mkIf config.system.desktop.enable {
|
config = lib.mkIf config.system.desktop.enable {
|
||||||
services.pipewire = {
|
services.pipewire = {
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./lanzaboote
|
./lanzaboote
|
||||||
|
./plymouth
|
||||||
./services
|
./services
|
||||||
./systemd
|
./systemd
|
||||||
];
|
];
|
||||||
|
|
17
modules/system/devices/boot/plymouth/default.nix
Normal file
17
modules/system/devices/boot/plymouth/default.nix
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
{
|
||||||
|
boot = lib.mkIf config.system.desktop.enable {
|
||||||
|
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"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue