27 lines
510 B
Nix
27 lines
510 B
Nix
{ pkgs, inputs, ... }:
|
|
{
|
|
|
|
imports = [ inputs.arion.nixosModules.arion ];
|
|
environment.systemPackages = [
|
|
pkgs.arion
|
|
];
|
|
|
|
# Arion works with Docker, but for NixOS-based containers, you need Podman
|
|
# since NixOS 21.05.
|
|
virtualisation = {
|
|
podman = {
|
|
enable = true;
|
|
defaultNetwork.settings.dns_enabled = true;
|
|
};
|
|
docker = {
|
|
enable = true;
|
|
storageDriver = "btrfs";
|
|
rootless = {
|
|
enable = true;
|
|
setSocketVariable = true;
|
|
};
|
|
};
|
|
};
|
|
|
|
}
|