Docker : Fix config.

This commit is contained in:
Dmitry Voronin 2024-02-26 00:00:42 +03:00
parent 610f1fc764
commit 154fb096a5
2 changed files with 7 additions and 7 deletions

View file

@ -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"
}
'';
} }

View file

@ -0,0 +1,4 @@
{
"detachKeys": "ctrl-z"
}