Add cntr package if container service is enabled.

This commit is contained in:
Kevin Baensch 2023-06-16 23:30:06 +02:00
parent d2e8d17a21
commit 41b0efb12d
Signed by: derped
GPG key ID: C0F1D326C7626543
2 changed files with 2 additions and 2 deletions

View file

@ -9,5 +9,5 @@ mkIf ((elem "docker" config.machine.services) && !(elem "podman" config.machine.
# Disable live restore as it tends to delay/block system shutdown
liveRestore = false;
};
environment.systemPackages = with pkgs; [ docker-compose docker-machine ];
environment.systemPackages = with pkgs; [ docker-compose docker-machine cntr ];
}

View file

@ -13,6 +13,6 @@ in mkIf (elem "podman" config.machine.services) {
settings.dns_enabled = true;
};
};
environment.systemPackages = (with pkgs; [ podman-compose ]) ++
environment.systemPackages = (with pkgs; [ podman-compose cntr ]) ++
(optional withDocker pkgs.docker-compose);
}