2019-03-17 11:43:14 +01:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
# Note: add privileged users to docker group for access
|
2019-03-20 02:57:59 +01:00
|
|
|
with lib;
|
|
|
|
|
|
|
|
mkIf (elem "docker" config.machine.services) {
|
2019-03-17 11:43:14 +01:00
|
|
|
virtualisation.docker.enable = true;
|
|
|
|
environment.systemPackages = with pkgs; [ docker-compose docker-machine ];
|
|
|
|
### Docker Image stuff will probably follow here
|
|
|
|
}
|