change docker to podman for arion compatibility

This commit is contained in:
Sam 2024-10-06 17:25:52 +01:00
parent f57afcc50c
commit e0093f134b
1 changed files with 21 additions and 5 deletions

View File

@ -1,10 +1,26 @@
{pkgs, ...}: { {
pkgs,
inputs,
...
}: {
imports = [inputs.arion.nixosModules.arion];
environment.systemPackages = [
pkgs.arion
pkgs.docker-client
];
virtualisation = { virtualisation = {
docker = { podman = {
enable = true; enable = true;
dockerSocket.enable = true;
defaultNetwork.settings.dns_enabled = true;
}; };
}; };
environment.systemPackages = with pkgs; [
docker-compose environment.persistence."/persist" = {
]; hideMounts = true;
directories = [
"/var/lib/containers"
];
};
} }