13 lines
267 B
Nix
13 lines
267 B
Nix
{ pkgs, config, ... }:
|
|
{
|
|
virtualisation.docker = {
|
|
enable = true;
|
|
storageDriver = "devicemapper";
|
|
};
|
|
environment.systemPackages = with pkgs;[
|
|
docker
|
|
docker-compose
|
|
];
|
|
users.users.${config.krebs.build.user.name}.extraGroups = [ "docker" ];
|
|
}
|