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 | f82de12a9a235a97085b768848c97dd023285066 (patch) | |
tree | 3582a253580f92bda73d877b86218380dfbe547d /makefu/2configs/virtualisation | |
parent | e03866490e69df3040ca3143e55ca3538aa06db1 (diff) |
ma docker: add self to docker group
Diffstat (limited to 'makefu/2configs/virtualisation')
-rw-r--r-- | makefu/2configs/virtualisation/docker.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/makefu/2configs/virtualisation/docker.nix b/makefu/2configs/virtualisation/docker.nix index ddef9e371..951bdbf26 100644 --- a/makefu/2configs/virtualisation/docker.nix +++ b/makefu/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" ]; } |