{ | |
perSystem = | |
{ config, lib, ... }: | |
{ | |
apps = | |
let | |
inherit (config.packages) default; | |
binaries = [ | |
"llama-cli" | |
"llama-embedding" | |
"llama-server" | |
"llama-quantize" | |
]; | |
mkApp = name: { | |
type = "app"; | |
program = "${default}/bin/${name}"; | |
}; | |
in | |
lib.genAttrs binaries mkApp; | |
}; | |
} | |