From 770fd05e268950d857975f4689bf40ef2db79cb6 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Tue, 1 Apr 2025 10:53:03 +0200 Subject: [PATCH] common/docker: enable autopruning --- hosts/common/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hosts/common/default.nix b/hosts/common/default.nix index d55eeb1..1b6bcfb 100644 --- a/hosts/common/default.nix +++ b/hosts/common/default.nix @@ -272,4 +272,10 @@ in { }; }; }; + + virtualisation.docker.autoPrune = { + enable = lib.mkDefault true; + flags = [ "--system" "--all" ]; + dates = "daily"; + }; }