set NIX_REMOTE when using the daemon
This commit is contained in:
parent
fbf57b4489
commit
207de9cef0
1 changed files with 1 additions and 0 deletions
|
@ -27,6 +27,7 @@ in
|
|||
image.nixBuild = false; # no need to build and load
|
||||
service.image = "arion-base";
|
||||
service.build.context = "${../../../arion-image}";
|
||||
service.environment.NIX_REMOTE = lib.optionalString config.service.useHostNixDaemon "daemon";
|
||||
service.volumes = [
|
||||
"${config.host.nixStorePrefix}/nix/store:/nix/store"
|
||||
"${config.host.nixStorePrefix}${pkgs.buildEnv { name = "container-system-env"; paths = [ pkgs.bashInteractive pkgs.coreutils ]; }}:/run/system"
|
||||
|
|
Loading…
Reference in a new issue