mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
feat: actually set theme; also enable silent boot
This commit is contained in:
parent
f78c95efe3
commit
825b6ecced
1 changed files with 30 additions and 13 deletions
|
|
@ -5,9 +5,10 @@
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
# TODO: add https://github.com/FraioVeio/plymouth-xp-theme
|
# TODO: add https://github.com/FraioVeio/plymouth-xp-theme
|
||||||
boot.loader.timeout = 1;
|
boot = {
|
||||||
boot.plymouth = {
|
plymouth = {
|
||||||
enable = lib.mkDefault true;
|
enable = lib.mkDefault true;
|
||||||
|
theme = "lone";
|
||||||
themePackages = with pkgs; [
|
themePackages = with pkgs; [
|
||||||
# By default we would install all themes
|
# By default we would install all themes
|
||||||
(adi1090x-plymouth-themes.override {
|
(adi1090x-plymouth-themes.override {
|
||||||
|
|
@ -20,4 +21,20 @@
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Enable "Silent boot"
|
||||||
|
consoleLogLevel = 3;
|
||||||
|
initrd.verbose = false;
|
||||||
|
kernelParams = [
|
||||||
|
"quiet"
|
||||||
|
"splash"
|
||||||
|
"boot.shell_on_fail"
|
||||||
|
"udev.log_priority=3"
|
||||||
|
"rd.systemd.show_status=auto"
|
||||||
|
];
|
||||||
|
# Hide the OS choice for bootloaders.
|
||||||
|
# It's still possible to open the bootloader list by pressing any key
|
||||||
|
# It will just not appear on screen unless a key is pressed
|
||||||
|
loader.timeout = 1;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue