Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
481 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
writeShellApplication,
bc,
diffutils,
findutils,
coreutils,
firmwarePaths ? [
"/run/current-system/firmware"
],
}:
writeShellApplication {
name = "edido";
meta.description = "Tool to apply display configuration from `boot.kernelParams`";
runtimeInputs = [
diffutils
findutils
coreutils
bc
];
text = ''
FIRMWARE_PATH="''${FIRMWARE_PATH:-"${builtins.concatStringsSep ":" firmwarePaths}"}"
${builtins.readFile ./edido.sh}
'';
}