blob: f89777e86b3975ae148a84ec75b8e0937caf23cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{
config,
lib,
pkgs,
...
}:
let
inherit (lib) mkEnableOption mkIf;
cfg = config.nx.plymouth;
in
{
options.nx.plymouth.enable = mkEnableOption "Plymouth";
config = mkIf cfg.enable {
boot = {
kernelParams = [
"quiet"
"splash"
"boot.shell_on_fail"
"udev.log_priority=3"
"rd.systemd.show_status=auto"
];
consoleLogLevel = 3;
loader.systemd-boot.consoleMode = "max";
plymouth = {
enable = true;
theme = "lone";
themePackages = with pkgs; [
(adi1090x-plymouth-themes.override {
selected_themes = [ "lone" ];
})
];
};
};
};
}
|