Docker : Fix config.
This commit is contained in:
parent
610f1fc764
commit
154fb096a5
|
@ -1,9 +1,5 @@
|
||||||
{ environment, ... }: {
|
{ environment, ... }: {
|
||||||
virtualisation.docker.enable = true;
|
environment.etc.docker.source = ./docker;
|
||||||
environment.variables.DOCKER_CONFIG = "/etc/docker.json";
|
environment.variables.DOCKER_CONFIG = "/etc/docker";
|
||||||
environment.etc."docker.json".text = ''
|
virtualisation.docker.enable = true;
|
||||||
{
|
|
||||||
"detachKeys": "ctrl-z"
|
|
||||||
}
|
|
||||||
'';
|
|
||||||
}
|
}
|
||||||
|
|
4
.config/linux/system/module/docker/config.json
Normal file
4
.config/linux/system/module/docker/config.json
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
"detachKeys": "ctrl-z"
|
||||||
|
}
|
||||||
|
|
Reference in a new issue