refactor: drop Incus, add Podman + Quadlets

This commit is contained in:
2026-07-18 02:26:18 +01:00
parent c448f62bb8
commit 0b1bb61989

22
modules/common/podman.nix Normal file
View File

@@ -0,0 +1,22 @@
{ config, lib, pkgs, ... }:
{
virtualisation.podman = {
enable = true;
# Rootless containers by default
# No daemon — systemd + quadlets manage everything
};
# Quadlet support — .container files in /etc/containers/systemd/
virtualisation.quadlet.enable = true;
# Nix-declared containers
virtualisation.oci-containers = {
backend = "podman";
containers = {
nginx-example = {
image = "nginx:latest";
ports = [ "9999:80" ];
};
};
};
}