nixos-configs/nixosModules/podman.nix

17 lines
363 B
Nix
Raw Permalink Normal View History

{ lib, config, ... }:
2025-09-13 18:03:16 +02:00
{
options.my.podman.enable = lib.mkEnableOption "Podman container runtime";
config = lib.mkIf config.my.podman.enable {
virtualisation = {
containers.enable = true;
podman = {
enable = true;
dockerCompat = true;
dockerSocket.enable = true;
autoPrune.enable = true;
};
2024-10-26 18:15:50 +02:00
};
};
}