Merge pull request #51085 from erikarvstedt/container-config

containers: simplify env var definition
This commit is contained in:
Silvan Mosberger 2018-11-27 23:45:02 +01:00 committed by GitHub
commit 331755f959
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,12 +22,8 @@ with lib;
# Not supported in systemd-nspawn containers. # Not supported in systemd-nspawn containers.
security.audit.enable = false; security.audit.enable = false;
# Make sure that root user in container will talk to host nix-daemon # Use the host's nix-daemon.
environment.etc."profile".text = '' environment.variables.NIX_REMOTE = "daemon";
export NIX_REMOTE=daemon
'';
}; };