mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 01:19:32 +08:00
news: add podman darwin support entry
This commit is contained in:
committed by
Austin Horstman
parent
f4bcc1ae1c
commit
b52d47d670
34
modules/misc/news/2025/11/2025-11-04_16-44-03.nix
Normal file
34
modules/misc/news/2025/11/2025-11-04_16-44-03.nix
Normal file
@@ -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.
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user