2024-10-06 17:25:52 +01:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
inputs,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
imports = [inputs.arion.nixosModules.arion];
|
|
|
|
environment.systemPackages = [
|
|
|
|
pkgs.arion
|
|
|
|
pkgs.docker-client
|
|
|
|
];
|
|
|
|
|
2024-07-05 18:58:03 +01:00
|
|
|
virtualisation = {
|
2024-10-06 17:25:52 +01:00
|
|
|
podman = {
|
2024-07-06 16:01:17 +01:00
|
|
|
enable = true;
|
2024-10-06 17:25:52 +01:00
|
|
|
dockerSocket.enable = true;
|
|
|
|
defaultNetwork.settings.dns_enabled = true;
|
2024-07-05 18:58:03 +01:00
|
|
|
};
|
|
|
|
};
|
2024-10-06 17:25:52 +01:00
|
|
|
|
|
|
|
environment.persistence."/persist" = {
|
|
|
|
hideMounts = true;
|
|
|
|
directories = [
|
|
|
|
"/var/lib/containers"
|
|
|
|
];
|
|
|
|
};
|
2024-07-05 18:58:03 +01:00
|
|
|
}
|