mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-26 06:24:33 +00:00
Add splash kernel param if plymouth is enabled
This commit is contained in:
parent
8a734ee951
commit
31221a5d19
|
@ -3,16 +3,20 @@
|
||||||
cfg = config.myOptions.system.boot.plymouth;
|
cfg = config.myOptions.system.boot.plymouth;
|
||||||
in {
|
in {
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
boot.plymouth = {
|
boot = {
|
||||||
enable = true;
|
plymouth = {
|
||||||
theme = cfg.selectedTheme;
|
enable = true;
|
||||||
}
|
theme = cfg.selectedTheme;
|
||||||
// lib.optionalAttrs cfg.withThemes {
|
}
|
||||||
themePackages = [
|
// lib.optionalAttrs cfg.withThemes {
|
||||||
(pkgs.adi1090x-plymouth-themes.override {
|
themePackages = [
|
||||||
selected_themes = [ cfg.selectedTheme ];
|
(pkgs.adi1090x-plymouth-themes.override {
|
||||||
})
|
selected_themes = [ cfg.selectedTheme ];
|
||||||
];
|
})
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
kernelParams = ["splash"];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Make polymouth work with sleep
|
# Make polymouth work with sleep
|
||||||
|
|
Loading…
Reference in a new issue