mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2025-01-07 03:58:59 +03:00
22 lines
383 B
Nix
22 lines
383 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
with import ./initrd-order.nix;
|
|
|
|
let
|
|
cfg = config.mobile.boot.stage-1.splash;
|
|
in
|
|
{
|
|
config.mobile.boot.stage-1 = lib.mkIf cfg.enable {
|
|
init = lib.mkOrder READY_INIT ''
|
|
show_splash splash
|
|
'';
|
|
extraUtils = [
|
|
pkgs.fbv
|
|
];
|
|
contents = [
|
|
{ object = ../temp-splash.png; symlink = "/splash.png"; }
|
|
];
|
|
};
|
|
}
|