From 566786f577734d2aa3123f037d4300a90229a4dd Mon Sep 17 00:00:00 2001 From: cswimr Date: Tue, 28 Jan 2025 06:42:35 -0600 Subject: [PATCH] add docker auto-pruning --- nixos/pkg.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixos/pkg.nix b/nixos/pkg.nix index 438c2d6..29c1a12 100644 --- a/nixos/pkg.nix +++ b/nixos/pkg.nix @@ -74,6 +74,10 @@ in # install docker virtualisation.docker = { enable = true; + autoPrune = { + enable = true; + dates = "daily"; + }; }; # remove nano