refactor(docker): move all Docker tools to Docker module
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user