diff --git a/modules/system/devices/audio/default.nix b/modules/system/devices/audio/default.nix index daafb03..c720d4b 100644 --- a/modules/system/devices/audio/default.nix +++ b/modules/system/devices/audio/default.nix @@ -1,4 +1,4 @@ -{ lib, config, pkgs, ... }: +{ config, lib, pkgs, ... }: { config = lib.mkIf config.system.desktop.enable { services.pipewire = { diff --git a/modules/system/devices/boot/default.nix b/modules/system/devices/boot/default.nix index 46a4d3b..25be28b 100644 --- a/modules/system/devices/boot/default.nix +++ b/modules/system/devices/boot/default.nix @@ -2,6 +2,7 @@ { imports = [ ./lanzaboote + ./plymouth ./services ./systemd ]; diff --git a/modules/system/devices/boot/plymouth/default.nix b/modules/system/devices/boot/plymouth/default.nix new file mode 100644 index 0000000..270b74c --- /dev/null +++ b/modules/system/devices/boot/plymouth/default.nix @@ -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" + ]; + }; +}