Permalink
Browse files

ecs-agent NixOS module: enable docker

  • Loading branch information...
1 parent e928cb1 commit e63d15f1732b2a27c362d376337ecb231f638649 @copumpkin copumpkin committed Feb 13, 2017
Showing with 4 additions and 0 deletions.
  1. +4 −0 nixos/modules/virtualisation/ecs-agent.nix
@@ -22,6 +22,10 @@ in {
};
config = lib.mkIf cfg.enable {
+ # This service doesn't run if docker isn't running, and unlike potentially remote services like e.g., postgresql, docker has
+ # to be running locally so `docker.enable` will always be set if the ECS agent is enabled.
+ virtualisation.docker.enable = true;
+
systemd.services.ecs-agent = {
inherit (cfg.package.meta) description;
after = [ "network.target" ];

0 comments on commit e63d15f

Please sign in to comment.