nix: use colored version for docker
This commit is contained in:
parent
8f81bddeaa
commit
542d7f1d5c
1 changed files with 8 additions and 9 deletions
17
flake.nix
17
flake.nix
|
@ -48,20 +48,19 @@
|
||||||
config = {
|
config = {
|
||||||
Volumes."/data" = { };
|
Volumes."/data" = { };
|
||||||
WorkingDir = "/data";
|
WorkingDir = "/data";
|
||||||
Entrypoint = [ "${vnetod}/bin/vnetod" ];
|
Entrypoint = [ "${coloredVnetod}/bin/vnetod" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
mkApp = prog: {
|
||||||
|
type = "app";
|
||||||
|
program = "${vnetod}/bin/vnetod";
|
||||||
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
apps = {
|
apps = {
|
||||||
default = {
|
default = mkApp vnetod;
|
||||||
type = "app";
|
colored = mkApp coloredVnetod;
|
||||||
program = "${vnetod}/bin/vnetod";
|
|
||||||
};
|
|
||||||
colored = {
|
|
||||||
type = "app";
|
|
||||||
program = "${coloredVnetod}/bin/vnetod";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
packages = {
|
packages = {
|
||||||
|
|
Loading…
Reference in a new issue