Skip to content

Commit e63d15f

Browse files
committedFeb 13, 2017
ecs-agent NixOS module: enable docker
1 parent e928cb1 commit e63d15f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

Diff for: ‎nixos/modules/virtualisation/ecs-agent.nix

+4
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ in {
2222
};
2323

2424
config = lib.mkIf cfg.enable {
25+
# This service doesn't run if docker isn't running, and unlike potentially remote services like e.g., postgresql, docker has
26+
# to be running locally so `docker.enable` will always be set if the ECS agent is enabled.
27+
virtualisation.docker.enable = true;
28+
2529
systemd.services.ecs-agent = {
2630
inherit (cfg.package.meta) description;
2731
after = [ "network.target" ];

0 commit comments

Comments
 (0)
Please sign in to comment.