ma docker: add self to docker group

This commit is contained in:
makefu 2017-09-09 20:58:50 +02:00
parent e03866490e
commit f82de12a9a
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

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" ];
} }