Skip to content

Conversation

@delafthi
Copy link
Owner

@delafthi delafthi commented Nov 5, 2025

Summary

Remove custom podman-darwin module in favor of home-manager's native podman service with launchd integration support.

Changes

  • Remove custom modules/home/services/podman-darwin.nix module (237 lines)
  • Remove modules/home/services/ directory structure
  • Simplify home/shared/dev/podman.nix to use native services.podman
  • Remove platform-specific enable logic (now handled by home-manager)

Motivation

Previously, we maintained a custom module to manage Podman machines on macOS with declarative configuration and automatic startup via launchd agents. This required ~240 lines of custom code to handle machine lifecycle, watchdog processes, and launchd integration.

Home-manager now provides native support for Podman machine management on Darwin (including launchd integration), making our custom implementation redundant. By migrating to the upstream implementation, we:

  • Reduce maintenance burden
  • Benefit from community improvements and bug fixes
  • Simplify configuration with native cross-platform support
  • Remove duplicate functionality

Dependencies

Waits for: nix-community/home-manager#8102

This PR depends on the upstream home-manager PR being merged and released, which adds proper launchd support for Podman machines on macOS.

@delafthi delafthi force-pushed the push-nrywpppwkuyl branch 3 times, most recently from 132df7f to 8c57da2 Compare November 7, 2025 06:25
This change removes our custom podman-darwin module that manually managed
Podman machines on macOS. Instead, we now rely on home-manager's native
podman module which includes proper launchd integration for machine
management.

Waits for: nix-community/home-manager#8102
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants