Switched to nixpkgs-unstable Replaced postgresql dependency with much smaller libpq. Utilise new inputs.self.submodules feature to simplify flake use Moved apps to a separate file Changelog-None
32 lines
773 B
Nix
32 lines
773 B
Nix
{ ... }:
|
|
{
|
|
perSystem =
|
|
{
|
|
config,
|
|
pkgs,
|
|
system,
|
|
self',
|
|
...
|
|
}:
|
|
{
|
|
apps = {
|
|
lightningd = {
|
|
program = "${self'.packages.cln}/bin/lightningd";
|
|
meta.description = "Core Lightning daemon";
|
|
};
|
|
lightning-cli = {
|
|
program = "${self'.packages.cln}/bin/lightning-cli";
|
|
meta.description = "Core Lightning command line interface";
|
|
};
|
|
lightning-hsmtool = {
|
|
program = "${self'.packages.cln}/bin/lightning-hsmtool";
|
|
meta.description = "Core Lightning HSM tool";
|
|
};
|
|
reckless = {
|
|
program = "${self'.packages.cln}/bin/reckless";
|
|
meta.description = "Core Lightning reckless tool";
|
|
};
|
|
};
|
|
};
|
|
}
|