Use zfs storage driver for podman
As overlay is unsupported on zfs.
This commit is contained in:
parent
07605cfe43
commit
e4be66ecce
1 changed files with 9 additions and 0 deletions
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue