Use zfs storage driver for podman

As overlay is unsupported on zfs.
This commit is contained in:
Jakob Lechner 2023-07-20 15:52:32 +00:00
parent 07605cfe43
commit e4be66ecce
No known key found for this signature in database
GPG key ID: 996082EFB5906C10

View file

@ -179,5 +179,14 @@ with lib; {
efiSystemPartitions);
hardware.enableRedistributableFirmware = true;
virtualisation.containers.storage.settings = {
storage = {
driver = "zfs";
graphroot = "/var/lib/containers/storage";
runroot = "/run/containers/storage";
options.zfs.fsname = "rpool/nixos/podman";
};
};
};
}