If container engine enabled, set oci backand accordingly
This commit is contained in:
parent
55af1f0e06
commit
6b524ad0e2
2 changed files with 9 additions and 4 deletions
|
|
@ -21,6 +21,9 @@ in
|
||||||
setSocketVariable = true;
|
setSocketVariable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
oci-containers.backend = "podman";
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue