fix: switch to podman
This commit is contained in:
parent
83da288a5f
commit
a82ebae6ca
1 changed files with 8 additions and 7 deletions
|
|
@ -58,13 +58,6 @@ in {
|
||||||
pkgs.arion
|
pkgs.arion
|
||||||
];
|
];
|
||||||
|
|
||||||
# Arion works with Docker, but for NixOS-based containers, you need Podman
|
|
||||||
# since NixOS 21.05.
|
|
||||||
virtualisation.docker.enable = false;
|
|
||||||
virtualisation.podman.enable = true;
|
|
||||||
virtualisation.podman.dockerSocket.enable = true;
|
|
||||||
virtualisation.podman.defaultNetwork.dnsname.enable = true;
|
|
||||||
|
|
||||||
swapDevices = [
|
swapDevices = [
|
||||||
{
|
{
|
||||||
device = "/swapfile";
|
device = "/swapfile";
|
||||||
|
|
@ -98,6 +91,14 @@ in {
|
||||||
autoPrune.enable = true;
|
autoPrune.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Arion works with Docker, but for NixOS-based containers, you need Podman
|
||||||
|
# since NixOS 21.05.
|
||||||
|
virtualisation.podman = {
|
||||||
|
enable = true;
|
||||||
|
dockerSocket.enable = true;
|
||||||
|
defaultNetwork.dnsname.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
virtualisation.oci-containers = {
|
virtualisation.oci-containers = {
|
||||||
backend = "docker";
|
backend = "docker";
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue