mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2025-01-07 12:11:28 +03:00
modules/beautification: Add splash option
This will handle, in a generic manner, the splash tooling used, and also sets some defaults.
This commit is contained in:
parent
3ba2ce589c
commit
a701b85d0f
@ -20,6 +20,16 @@ in
|
||||
When enabled, fbcon consoles are disabled.
|
||||
'';
|
||||
};
|
||||
splash = mkOption {
|
||||
type = types.bool;
|
||||
default = true;
|
||||
description = ''
|
||||
When enabled, plymouth is configured with nice defaults.
|
||||
|
||||
Note that this requires an update to the kernel command-line
|
||||
parameters, thus the boot image may need to be reflashed.
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
@ -31,5 +41,9 @@ in
|
||||
"console=tty0"
|
||||
];
|
||||
})
|
||||
(mkIf config.mobile.beautification.splash {
|
||||
boot.plymouth.enable = mkDefault true;
|
||||
boot.plymouth.theme = mkDefault "spinner";
|
||||
})
|
||||
];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user