8 lines
229 B
Nix
8 lines
229 B
Nix
{ 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;
|
|
}
|