nix-dotfiles/services/podman.nix

17 lines
464 B
Nix
Raw Normal View History

{ config, pkgs, ... }:
{
# Arion works with Docker, but for NixOS-based containers, you need Podman
# since NixOS 21.05.
virtualisation.docker.enable = false;
2024-04-18 01:05:45 +02:00
virtualisation.podman = {
enable = true;
dockerCompat = true;
dockerSocket.enable = true ;
autoPrune.flags = ["--all"];
autoPrune.enable = true;
defaultNetwork.settings = { dns_enabled = true; };
};
users.extraUsers.gunalx.extraGroups = ["podman"];
2024-03-22 12:55:22 +01:00
}