1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-11 21:17:45 +03:00
mobile-nixos/boot/splash/default.nix

22 lines
443 B
Nix
Raw Normal View History

{ lib, runCommand, mobile-nixos }:
2021-01-02 01:49:38 +03:00
let
assets = runCommand "boot-splash-assets" {} ''
2021-06-14 00:49:00 +03:00
mkdir -p $out
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;
src = lib.cleanSource ./.;
2021-06-14 00:49:00 +03:00
rubyFiles = [
"configuration.rb"
2021-06-14 00:49:00 +03:00
"ui.rb"
"main.rb"
];
2021-06-14 00:49:00 +03:00
inherit assets;
assetsPath = "boot-splash/assets";
}