summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/virtualisation
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2017-09-20 12:15:51 +0200
committerlassulus <lassulus@lassul.us>2017-09-20 12:15:51 +0200
commitdcde03342c040ca00f2b80ca4d1c3bb68844b105 (patch)
tree2c5463c193c7dd6124c4dfc756fb23ab88e846b2 /makefu/2configs/virtualisation
parent821e59baca98b5caba65c6e7c7e4d6671593a69e (diff)
parentad06126dcedfd5f28a3b64f2df2f32428f933a08 (diff)
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/2configs/virtualisation')
-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" ];
}