Docker : Remove config.

This commit is contained in:
Dmitry Voronin 2024-04-08 14:47:33 +03:00
parent 75dbb11641
commit 40a295207f
3 changed files with 3 additions and 18 deletions

View file

@ -1,7 +1,3 @@
{ pkgs, key, util, ... } @args: let { ... }: {
docker = import ./docker/Init.nix args; virtualisation.docker.enable = true;
config = pkgs.writeText "dockerConfig" docker.text;
in {
environment.variables.DOCKER_CONFIG = config;
virtualisation.docker.enable = true;
} }

View file

@ -1,8 +1,4 @@
{ pkgs, key, util, ... } @args: let { ... }: {
docker = import ./docker/Init.nix args;
config = pkgs.writeText "dockerConfig" docker.text;
in {
environment.variables.DOCKER_CONFIG = config;
virtualisation.docker.enable = true; virtualisation.docker.enable = true;
virtualisation.docker.rootless = { virtualisation.docker.rootless = {
enable = true; enable = true;

View file

@ -1,7 +0,0 @@
{ key, util, ... }: {
text = util.trimTabs ''
{
"detachKeys": "ctrl-${key.action.wait}"
}
'';
}