Merge pull request #47917 from arianvp/fix-imperative-containers

Fix imperative containers
This commit is contained in:
Samuel Dionne-Riel
2018-10-08 16:55:38 -04:00
committed by GitHub
3 changed files with 19 additions and 9 deletions
@@ -22,6 +22,13 @@ with lib;
# Not supported in systemd-nspawn containers.
security.audit.enable = false;
# Make sure that root user in container will talk to host nix-daemon
environment.etc."profile".text = ''
export NIX_REMOTE=daemon
'';
};
}