mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-26 05:24:34 +00:00
Add splash kernel param if plymouth is enabled
This commit is contained in:
parent
8a734ee951
commit
31221a5d19
|
@ -3,7 +3,8 @@
|
|||
cfg = config.myOptions.system.boot.plymouth;
|
||||
in {
|
||||
config = mkIf cfg.enable {
|
||||
boot.plymouth = {
|
||||
boot = {
|
||||
plymouth = {
|
||||
enable = true;
|
||||
theme = cfg.selectedTheme;
|
||||
}
|
||||
|
@ -15,6 +16,9 @@ in {
|
|||
];
|
||||
};
|
||||
|
||||
kernelParams = ["splash"];
|
||||
};
|
||||
|
||||
# Make polymouth work with sleep
|
||||
powerManagement = {
|
||||
powerDownCommands = ''
|
||||
|
|
Loading…
Reference in a new issue