ma docker: add self to docker group

This commit is contained in:
makefu 2017-09-09 20:58:50 +02:00
parent 656fd8352b
commit d91ea9efe5

View file

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