summaryrefslogtreecommitdiffstats
path: root/makefu/2configs
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2017-09-09 20:58:50 +0200
committermakefu <github@syntax-fehler.de>2017-09-09 20:58:50 +0200
commitf82de12a9a235a97085b768848c97dd023285066 (patch)
tree3582a253580f92bda73d877b86218380dfbe547d /makefu/2configs
parente03866490e69df3040ca3143e55ca3538aa06db1 (diff)
ma docker: add self to docker group
Diffstat (limited to 'makefu/2configs')
-rw-r--r--makefu/2configs/virtualisation/docker.nix3
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" ];
}