snowflake/modules/virtualisation.nix

16 lines
291 B
Nix
Raw Normal View History

2024-01-27 19:18:33 -05:00
_: {
2024-02-01 16:03:44 -05:00
virtualisation = {
oci-containers.backend = "docker";
docker = {
enable = true;
2024-02-01 16:03:44 -05:00
enableOnBoot = true;
autoPrune = {
enable = true;
dates = "weekly";
2024-02-08 11:43:41 -05:00
flags = ["--all"];
2024-02-01 16:03:44 -05:00
};
2024-02-08 11:43:41 -05:00
listenOptions = ["/run/docker.sock"];
};
};
}