Merge pull request #32578 from michaelpj/imp/plymouth-theme-defaut
plymouth: add breeze-plymouth as default theme
This commit is contained in:
commit
b256afac58
@ -193,16 +193,6 @@ in
|
|||||||
theme = mkDefault "breeze";
|
theme = mkDefault "breeze";
|
||||||
};
|
};
|
||||||
|
|
||||||
boot.plymouth = {
|
|
||||||
theme = mkDefault "breeze";
|
|
||||||
themePackages = mkDefault [
|
|
||||||
(pkgs.breeze-plymouth.override {
|
|
||||||
nixosBranding = true;
|
|
||||||
nixosVersion = config.system.nixosRelease;
|
|
||||||
})
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
security.pam.services.kde = { allowNullPassword = true; };
|
security.pam.services.kde = { allowNullPassword = true; };
|
||||||
|
|
||||||
# Doing these one by one seems silly, but we currently lack a better
|
# Doing these one by one seems silly, but we currently lack a better
|
||||||
|
@ -8,9 +8,14 @@ let
|
|||||||
|
|
||||||
cfg = config.boot.plymouth;
|
cfg = config.boot.plymouth;
|
||||||
|
|
||||||
|
breezePlymouth = pkgs.breeze-plymouth.override {
|
||||||
|
nixosBranding = true;
|
||||||
|
nixosVersion = config.system.nixosRelease;
|
||||||
|
};
|
||||||
|
|
||||||
themesEnv = pkgs.buildEnv {
|
themesEnv = pkgs.buildEnv {
|
||||||
name = "plymouth-themes";
|
name = "plymouth-themes";
|
||||||
paths = [ plymouth ] ++ cfg.themePackages;
|
paths = [ plymouth breezePlymouth ] ++ cfg.themePackages;
|
||||||
};
|
};
|
||||||
|
|
||||||
configFile = pkgs.writeText "plymouthd.conf" ''
|
configFile = pkgs.writeText "plymouthd.conf" ''
|
||||||
@ -38,7 +43,7 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
theme = mkOption {
|
theme = mkOption {
|
||||||
default = "fade-in";
|
default = "breeze";
|
||||||
type = types.str;
|
type = types.str;
|
||||||
description = ''
|
description = ''
|
||||||
Splash screen theme.
|
Splash screen theme.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user