From b52d47d670d2be28c99333b008896cef4c8df6fb Mon Sep 17 00:00:00 2001 From: Thierry Delafontaine Date: Tue, 4 Nov 2025 16:48:19 +0100 Subject: [PATCH] news: add podman darwin support entry --- .../misc/news/2025/11/2025-11-04_16-44-03.nix | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 modules/misc/news/2025/11/2025-11-04_16-44-03.nix diff --git a/modules/misc/news/2025/11/2025-11-04_16-44-03.nix b/modules/misc/news/2025/11/2025-11-04_16-44-03.nix new file mode 100644 index 000000000..fd169e993 --- /dev/null +++ b/modules/misc/news/2025/11/2025-11-04_16-44-03.nix @@ -0,0 +1,34 @@ +{ + config, + lib, + pkgs, + ... +}: +{ + time = "2025-11-04T15:44:03+00:00"; + condition = true; + message = '' + The 'services.podman' module now supports Darwin (macOS) with declarative + machine management. + + On Darwin, podman requires running containers inside a virtual machine. + The new configuration options allow you to declaratively manage podman + machines with automatic creation, configuration, and startup. + + By default, a machine named 'podman-machine-default' will be created + automatically. You can customize machines or disable the default with: + + services.podman.useDefaultMachine = false; + services.podman.machines = { + "my-machine" = { + cpus = 4; + memory = 8192; + diskSize = 100; + autoStart = true; + }; + }; + + The module includes a launchd-based watchdog service that automatically + starts configured machines on login and keeps them running. + ''; +}