infra/profiles/docker.nix

16 lines
261 B
Nix
Raw Normal View History

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