feat(gui): enable plymouth boot animation

This commit is contained in:
514fpv 2024-01-02 16:36:28 +08:00
parent 8ae36ad4cd
commit 9c11e58813
Signed by: koishi
SSH key fingerprint: SHA256:axz0uIzzY+5W19i7QOUuiw5LSqhKfCBKPf3L4xFRxLw
2 changed files with 27 additions and 0 deletions

23
faucet/gui/plymouth.nix Normal file
View file

@ -0,0 +1,23 @@
{ pkgs
, lib
, config
, ... }: with lib; let
cfg = config.faucet.gui;
in mkIf cfg.enable {
boot = {
loader.timeout = lib.mkDefault 0;
consoleLogLevel = 0;
initrd.verbose = false;
initrd.systemd.enable = true;
plymouth.enable = true;
kernelParams = [
"quiet"
"splash"
"i915.fastboot=1"
"loglevel=3"
"rd.systemd.show_status=false"
"rd.udev.log_level=3"
"udev.log_priority=3"
];
};
}