nixos: set correct $PATH

Not tested.
This commit is contained in:
Domen Kožar 2019-05-02 06:29:14 +00:00 committed by GitHub
parent fbf57b4489
commit 3964ac2f1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,6 +26,7 @@ in
];
image.command = [ "${config.nixos.build.toplevel}/init" ];
service.environment.container = "docker";
service.environment.PATH = "/usr/bin:/run/current-system/sw/bin/";
service.volumes = [
"/sys/fs/cgroup:/sys/fs/cgroup:ro"
];