If container engine enabled, set oci backand accordingly

This commit is contained in:
pazpi 2024-08-27 11:45:35 +02:00
parent 55af1f0e06
commit 6b524ad0e2
2 changed files with 9 additions and 4 deletions

View file

@ -21,6 +21,9 @@ in
setSocketVariable = true; setSocketVariable = true;
}; };
}; };
oci-containers.backend = "podman";
}; };
}; };

View file

@ -13,11 +13,13 @@ in
}; };
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
virtualisation.podman = { virtualisation = {
enable = true;
# Depending on the host filesystem podman = {
# extraPackages = [ pkgs.zfs ]; enable = true;
};
oci-containers.backend = "podman";
}; };
# Depending on the host filesystem # Depending on the host filesystem