This commit is contained in:
Daniel Barlow
2023-11-10 21:17:20 +00:00
parent 22882dabee
commit 7cfb92e3ce
14 changed files with 102 additions and 58 deletions

View File

@@ -1,15 +1,15 @@
with import <nixpkgs> {} ;
let
devices =
builtins.readDir ../devices;
devices = builtins.readDir ../devices;
inherit (builtins) stringLength;
texts = lib.mapAttrsToList (n: t:
let d = import ../devices/${n}/default.nix;
d' = {
description = "no description for ${n}";
description = "${n}\n${substring 0 (stringLength n) "********************************"}\n";
} // d;
installer =
if d ? installer
if d ? description && d ? installer
then ''
The default installation route for this device is