infra/profiles/docker.nix
2020-01-22 12:37:13 +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" ];
};
};
}