Merge pull request #51085 from erikarvstedt/container-config
containers: simplify env var definition
This commit is contained in:
commit
331755f959
@ -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
|
|
||||||
'';
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user