nix: use colored version for docker

This commit is contained in:
Dmitriy Pleshevskiy 2022-11-12 16:37:16 +03:00
parent 8f81bddeaa
commit 542d7f1d5c
Signed by: pleshevskiy
GPG Key ID: 1B59187B161C0215
1 changed files with 8 additions and 9 deletions

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 = {