add plymouth

This commit is contained in:
Charlotte 🦝 Delenk 2024-11-07 09:04:40 +01:00
parent a15ffef4ce
commit 25cc3e0040
4 changed files with 29 additions and 0 deletions

View file

@ -3,5 +3,6 @@
isGraphical = true;
imports = [
./kde
./graphical/plymouth.nix
];
}

View 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
View file

@ -0,0 +1,5 @@
{...}: {
disabledModules = [
./graphical/plymouth.nix
];
}

View file

@ -18,5 +18,11 @@
./graphical.nix
];
};
specialisation.graphical-verbose = {
configuration.imports = [
./graphical.nix
"${nixos-config}/config/verbose.nix"
];
};
isInstaller = true;
}