infra/profiles/docker.nix
2019-08-12 09:59:19 +01:00

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