{ config, lib, pkgs, ... }: with lib; let cfg = config.nixfiles.modules.profiles.dev.containers; in { config = mkIf cfg.enable { nixfiles.modules = { common.shell.aliases.b = "buildah"; podman.enable = true; }; hm = { home = { sessionVariables.MINIKUBE_HOME = "${config.dirs.config}/minikube"; packages = with pkgs; [buildah]; }; xdg.dataFile."minikube/config/config.json".text = generators.toJSON {} { config.Rootless = true; driver = "podman"; container-runtime = "cri-o"; }; }; }; }