nixos-config/2configs/virtualisation/docker.nix
2017-09-09 20:58:50 +02:00

10 lines
223 B
Nix

{ pkgs, config, ... }:
{
virtualisation.docker.enable = true;
environment.systemPackages = with pkgs;[
docker
docker_compose
];
users.extraUsers.${config.krebs.build.user.name}.extraGroups = [ "docker" ];
}