refactor(docker podman): better docker and podman configuration

This commit is contained in:
Lucien Cartier-Tilet 2025-09-03 11:45:12 +02:00
parent f810e561fa
commit 7899f32aba
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,7 @@
{ {
lib, lib,
config, config,
pkgs,
... ...
}: }:
with lib; let with lib; let
@ -14,6 +15,9 @@ in {
}; };
config = { config = {
environment.systemPackages = mkIf cfg.podman.enable [
pkgs.podman-desktop
];
virtualisation = { virtualisation = {
docker = mkIf (cfg.enable && !cfg.podman.enable) { docker = mkIf (cfg.enable && !cfg.podman.enable) {
enable = true; enable = true;

View File

@ -74,8 +74,6 @@ with lib; {
dive # A tool for exploring each layer in a docker image dive # A tool for exploring each layer in a docker image
grype # Vulnerability scanner for container images and filesystems grype # Vulnerability scanner for container images and filesystems
kicad # Working on my custom keyboard kicad # Working on my custom keyboard
podman-desktop
podman-compose
tectonic # better LaTeX engine tectonic # better LaTeX engine
virt-manager virt-manager
zeal zeal