infra/roles/docker.nix

16 lines
263 B
Nix
Raw Normal View History

2020-01-22 12:37:13 +01:00
{ ... }:
2019-08-11 19:53:02 +01:00
{
virtualisation.docker = {
enable = true;
# Clean docker images periodically
autoPrune = {
enable = true;
# Do not only remove "dangling" images (orphaned layers), also remove unused
flags = [ "--all" ];
};
};
}