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 = {
environment.systemPackages = mkIf cfg.podman.enable [
pkgs.podman-desktop
pkgs.podman-compose
];
virtualisation = {
docker = mkIf (cfg.enable && !cfg.podman.enable) {
virtualisation = mkIf cfg.enable {
docker = mkIf (!cfg.podman.enable) {
enable = true;
enableNvidia = cfg.nvidia.enable;
autoPrune.enable = cfg.autoprune.enable;