{ lib, config, pkgs, ... }: let cfg = config.my.virtualisation.podman; in { options.my.virtualisation.podman = { enable = lib.mkEnableOption "Enable Podman module"; }; config = lib.mkIf cfg.enable { virtualisation = { podman = { enable = true; }; oci-containers.backend = "podman"; }; # Depending on the host filesystem # virtualisation.containers.storage.settings = { # storage = { # driver = "zfs"; # graphroot = "/var/lib/containers/storage"; # runroot = "/run/containers/storage"; # }; # }; }; }