enable autoPrune for Docker

This commit is contained in:
Andreas Zweili 2021-11-26 18:12:40 +01:00
parent 72f9975c23
commit 9cf03e3f2f
1 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,10 @@
{ config, pkgs, ... }:
{
virtualisation.docker.enable = true;
virtualisation.docker =
{
enable = true;
autoPrune.enable = true;
};
users.users.andreas.extraGroups = [ "docker" ];
}