snowflake/modules/virtualisation.nix
2024-02-08 11:43:41 -05:00

15 lines
291 B
Nix

_: {
virtualisation = {
oci-containers.backend = "docker";
docker = {
enable = true;
enableOnBoot = true;
autoPrune = {
enable = true;
dates = "weekly";
flags = ["--all"];
};
listenOptions = ["/run/docker.sock"];
};
};
}