2023-07-05 00:40:34 +02:00
|
|
|
{ pkgs, ... }:
|
2023-07-04 23:44:08 +02:00
|
|
|
{
|
|
|
|
virtualisation.podman.enable = true;
|
|
|
|
virtualisation.podman.dockerCompat = true; # alias docker to podman
|
|
|
|
virtualisation.oci-containers.backend = "podman"; # default
|
|
|
|
|
2023-07-05 00:40:34 +02:00
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
#podman-compose
|
|
|
|
podman-tui
|
|
|
|
];
|
|
|
|
|
|
|
|
|
2023-07-04 23:44:08 +02:00
|
|
|
# Required for containers under podman-compose to be able to talk to each other.
|
|
|
|
#virtualisation.defaultNetwork.settings.dns_enabled = true;
|
|
|
|
|
|
|
|
# TODO: if root-on-zfs
|
|
|
|
#virtualisation.podman.extraPackages = [ pkgs.zfs ];
|
|
|
|
}
|