Add cntr package if container service is enabled.
This commit is contained in:
parent
d2e8d17a21
commit
41b0efb12d
2 changed files with 2 additions and 2 deletions
|
@ -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
|
# Disable live restore as it tends to delay/block system shutdown
|
||||||
liveRestore = false;
|
liveRestore = false;
|
||||||
};
|
};
|
||||||
environment.systemPackages = with pkgs; [ docker-compose docker-machine ];
|
environment.systemPackages = with pkgs; [ docker-compose docker-machine cntr ];
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,6 +13,6 @@ in mkIf (elem "podman" config.machine.services) {
|
||||||
settings.dns_enabled = true;
|
settings.dns_enabled = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
environment.systemPackages = (with pkgs; [ podman-compose ]) ++
|
environment.systemPackages = (with pkgs; [ podman-compose cntr ]) ++
|
||||||
(optional withDocker pkgs.docker-compose);
|
(optional withDocker pkgs.docker-compose);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue