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,10 +14,15 @@ in {
autoprune.enable = mkEnableOption "Enable autoprune"; autoprune.enable = mkEnableOption "Enable autoprune";
}; };
config = { config = mkIf cfg.enable {
environment.systemPackages = mkIf cfg.podman.enable [ environment.systemPackages = with pkgs;
pkgs.podman-desktop [
pkgs.podman-compose 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 { virtualisation = mkIf cfg.enable {
docker = mkIf (!cfg.podman.enable) { docker = mkIf (!cfg.podman.enable) {

View File

@@ -69,8 +69,6 @@ with lib; {
# Dev # Dev
devenv devenv
dive # A tool for exploring each layer in a docker image
grype # Vulnerability scanner for container images and filesystems
tectonic # better LaTeX engine tectonic # better LaTeX engine
zeal zeal