fix(docker): better configuration handling, add back podman-compose

This commit is contained in:
Lucien Cartier-Tilet 2025-09-03 11:45:12 +02:00
parent e8200048fa
commit f4e805677e

View File

@ -17,9 +17,10 @@ in {
config = { config = {
environment.systemPackages = mkIf cfg.podman.enable [ environment.systemPackages = mkIf cfg.podman.enable [
pkgs.podman-desktop pkgs.podman-desktop
pkgs.podman-compose
]; ];
virtualisation = { virtualisation = mkIf cfg.enable {
docker = mkIf (cfg.enable && !cfg.podman.enable) { docker = mkIf (!cfg.podman.enable) {
enable = true; enable = true;
enableNvidia = cfg.nvidia.enable; enableNvidia = cfg.nvidia.enable;
autoPrune.enable = cfg.autoprune.enable; autoPrune.enable = cfg.autoprune.enable;