diff --git a/config/graphical.nix b/config/graphical.nix index 8b5e7cf7..dd5b02db 100644 --- a/config/graphical.nix +++ b/config/graphical.nix @@ -3,5 +3,6 @@ isGraphical = true; imports = [ ./kde + ./graphical/plymouth.nix ]; } diff --git a/config/graphical/plymouth.nix b/config/graphical/plymouth.nix new file mode 100644 index 00000000..a3f6c539 --- /dev/null +++ b/config/graphical/plymouth.nix @@ -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; + }; +} diff --git a/config/verbose.nix b/config/verbose.nix new file mode 100644 index 00000000..996fef4f --- /dev/null +++ b/config/verbose.nix @@ -0,0 +1,5 @@ +{...}: { + disabledModules = [ + ./graphical/plymouth.nix + ]; +} diff --git a/machine/pc-installer/default.nix b/machine/pc-installer/default.nix index cfb95341..c7a2f736 100644 --- a/machine/pc-installer/default.nix +++ b/machine/pc-installer/default.nix @@ -18,5 +18,11 @@ ./graphical.nix ]; }; + specialisation.graphical-verbose = { + configuration.imports = [ + ./graphical.nix + "${nixos-config}/config/verbose.nix" + ]; + }; isInstaller = true; }