snowflake/hosts/common/virtualisation.nix

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"];
};
};
}