From 3964ac2f1e5fdda67ef16f6ab52b59f913652f04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Thu, 2 May 2019 06:29:14 +0000 Subject: [PATCH] nixos: set correct $PATH Not tested. --- src/nix/modules/service/nixos-init.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nix/modules/service/nixos-init.nix b/src/nix/modules/service/nixos-init.nix index 7521a09..5e97451 100644 --- a/src/nix/modules/service/nixos-init.nix +++ b/src/nix/modules/service/nixos-init.nix @@ -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" ];