2024-04-06 03:03:58 +03:00
|
|
|
{ pkgs, key, util, ... } @args: let
|
|
|
|
docker = import ./docker/Init.nix args;
|
|
|
|
config = pkgs.writeText "dockerConfig" docker.text;
|
|
|
|
in {
|
|
|
|
environment.variables.DOCKER_CONFIG = config;
|
2024-03-04 00:34:39 +03:00
|
|
|
virtualisation.docker.enable = true;
|
|
|
|
virtualisation.docker.rootless = {
|
|
|
|
enable = true;
|
|
|
|
setSocketVariable = true;
|
|
|
|
};
|
|
|
|
}
|