services.podman.machines

Declarative podman machine configurations.

Type
attribute set of (submodule)
Default
{ }
Example
{
  "dev-machine" = {
    cpus = 4;
    diskSize = 100;
    memory = 8192;
    swap = 2048;
    timezone = "UTC";
    volumes = [
      "/Users:/Users"
      "/private:/private"
    ];
    autoStart = true;
    watchdogInterval = 30;
  };
  "testing" = {
    cpus = 2;
    diskSize = 50;
    image = "ghcr.io/your-org/custom-image:latest";
    memory = 4096;
    username = "podman";
    autoStart = false;
  };
}
Declared
<home-manager/modules/services/podman/darwin.nix>