domain: add optional on_line callback #15

Merged
pleshevskiy merged 5 commits from pretty-result into main 2022-11-12 16:38:02 +03:00
Showing only changes of commit 542d7f1d5c - Show all commits

View file

@ -48,20 +48,19 @@
config = {
Volumes."/data" = { };
WorkingDir = "/data";
Entrypoint = [ "${vnetod}/bin/vnetod" ];
Entrypoint = [ "${coloredVnetod}/bin/vnetod" ];
};
};
mkApp = prog: {
type = "app";
program = "${vnetod}/bin/vnetod";
};
in
{
apps = {
default = {
type = "app";
program = "${vnetod}/bin/vnetod";
};
colored = {
type = "app";
program = "${coloredVnetod}/bin/vnetod";
};
default = mkApp vnetod;
colored = mkApp coloredVnetod;
};
packages = {