ma docker: add self to docker group
This commit is contained in:
parent
e03866490e
commit
f82de12a9a
@ -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" ];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user