infra/roles/docker.nix
2021-03-25 22:11:32 +01:00

15 lines
263 B
Nix

{ ... }:
{
virtualisation.docker = {
enable = true;
# Clean docker images periodically
autoPrune = {
enable = true;
# Do not only remove "dangling" images (orphaned layers), also remove unused
flags = [ "--all" ];
};
};
}