Docker : Fix config.
This commit is contained in:
parent
610f1fc764
commit
154fb096a5
|
@ -1,9 +1,5 @@
|
||||||
{ environment, ... }: {
|
{ environment, ... }: {
|
||||||
|
environment.etc.docker.source = ./docker;
|
||||||
|
environment.variables.DOCKER_CONFIG = "/etc/docker";
|
||||||
virtualisation.docker.enable = true;
|
virtualisation.docker.enable = true;
|
||||||
environment.variables.DOCKER_CONFIG = "/etc/docker.json";
|
|
||||||
environment.etc."docker.json".text = ''
|
|
||||||
{
|
|
||||||
"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