2022-09-27 06:42:22 +03:00
|
|
|
{ lib, runCommand, mobile-nixos }:
|
2020-10-24 07:02:02 +03:00
|
|
|
|
2021-01-02 01:49:38 +03:00
|
|
|
let
|
2022-09-27 06:42:22 +03:00
|
|
|
assets = runCommand "boot-splash-assets" {} ''
|
2021-06-14 00:49:00 +03:00
|
|
|
mkdir -p $out
|
2023-04-26 06:48:28 +03:00
|
|
|
ln -s /etc/logo.svg $out/logo.svg
|
2021-06-14 00:49:00 +03:00
|
|
|
'';
|
2021-01-02 01:49:38 +03:00
|
|
|
in
|
2021-06-14 00:49:00 +03:00
|
|
|
mobile-nixos.mkLVGUIApp {
|
|
|
|
name = "boot-splash.mrb";
|
|
|
|
executablePath = "libexec/boot-splash.mrb";
|
2022-10-27 01:46:02 +03:00
|
|
|
enableDebugInformation = true;
|
2020-10-24 07:02:02 +03:00
|
|
|
src = lib.cleanSource ./.;
|
2021-06-14 00:49:00 +03:00
|
|
|
rubyFiles = [
|
2023-04-26 04:22:31 +03:00
|
|
|
"configuration.rb"
|
2021-06-14 00:49:00 +03:00
|
|
|
"ui.rb"
|
|
|
|
"main.rb"
|
2020-10-24 07:02:02 +03:00
|
|
|
];
|
2021-06-14 00:49:00 +03:00
|
|
|
inherit assets;
|
|
|
|
assetsPath = "boot-splash/assets";
|
|
|
|
}
|