diff options
author | makefu <github@syntax-fehler.de> | 2017-09-09 20:58:50 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2017-09-09 20:58:50 +0200 |
commit | d91ea9efe586d7a81d2bbd10715691ce656bffb8 (patch) | |
tree | aff31e893b7dc678419338b57ae30176979c7624 | |
parent | 656fd8352b884b65106137387bf892c9ecfba86c (diff) |
ma docker: add self to docker group
-rw-r--r-- | 2configs/virtualisation/docker.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/2configs/virtualisation/docker.nix b/2configs/virtualisation/docker.nix index ddef9e371..951bdbf26 100644 --- a/2configs/virtualisation/docker.nix +++ b/2configs/virtualisation/docker.nix @@ -1,8 +1,9 @@ -{ pkgs, ... }: +{ pkgs, config, ... }: { virtualisation.docker.enable = true; environment.systemPackages = with pkgs;[ docker docker_compose ]; + users.extraUsers.${config.krebs.build.user.name}.extraGroups = [ "docker" ]; } |