blob: 2572a0dc2af85d1ab086a6e26f4b1ba3e86c7ddf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
{ writeShellApplication
, bc
, diffutils
, findutils
, coreutils
, firmwarePaths ? [
"/run/current-system/firmware"
]
}:
writeShellApplication {
name = "edido";
meta.description = "A 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}
'';
}
|