2023-12-10 01:20:18 +01:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
{
|
|
|
|
# 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;
|
2024-03-22 12:55:22 +01:00
|
|
|
virtualisation.podman.defaultNetwork.settings = { dns_enabled = true; };
|
2023-12-10 01:20:18 +01:00
|
|
|
|
|
|
|
# Use your username instead of `myuser`
|
|
|
|
users.extraUsers.gunalx.extraGroups = ["podman"];
|
2024-03-22 12:55:22 +01:00
|
|
|
}
|