mirror of
https://github.com/adrlau/nix-dotfiles.git
synced 2024-12-13 15:01:49 +01:00
13 lines
428 B
Nix
13 lines
428 B
Nix
{ 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;
|
|
virtualisation.podman.defaultNetwork.settings = { dns_enabled = true; };
|
|
|
|
# Use your username instead of `myuser`
|
|
users.extraUsers.gunalx.extraGroups = ["podman"];
|
|
}
|