nixos: set correct $PATH
Not tested.
This commit is contained in:
parent
fbf57b4489
commit
3964ac2f1e
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ in
|
||||||
];
|
];
|
||||||
image.command = [ "${config.nixos.build.toplevel}/init" ];
|
image.command = [ "${config.nixos.build.toplevel}/init" ];
|
||||||
service.environment.container = "docker";
|
service.environment.container = "docker";
|
||||||
|
service.environment.PATH = "/usr/bin:/run/current-system/sw/bin/";
|
||||||
service.volumes = [
|
service.volumes = [
|
||||||
"/sys/fs/cgroup:/sys/fs/cgroup:ro"
|
"/sys/fs/cgroup:/sys/fs/cgroup:ro"
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue