refactor(docker): move all Docker tools to Docker module

This commit is contained in:
2025-11-07 02:26:13 +01:00
parent 1aef3db69d
commit ba9a3c7168
2 changed files with 10 additions and 7 deletions

View File

@@ -14,11 +14,16 @@ in {
autoprune.enable = mkEnableOption "Enable autoprune";
};
config = {
environment.systemPackages = mkIf cfg.podman.enable [
pkgs.podman-desktop
pkgs.podman-compose
];
config = mkIf cfg.enable {
environment.systemPackages = with pkgs;
[
dive # A tool for exploring each layer in a docker image
grype # Vulnerability scanner for container images and filesystems
]
++ lists.optionals cfg.podman.enable [
podman-compose
podman-desktop
];
virtualisation = mkIf cfg.enable {
docker = mkIf (!cfg.podman.enable) {
enable = true;