From 38a62ef342a114ce04cc04e9e2daf4721d05433c Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Thu, 14 Sep 2023 13:19:14 +0200 Subject: [PATCH] podman configuration --- modules/podman.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/podman.nix b/modules/podman.nix index 3bd6131..2b2885d 100644 --- a/modules/podman.nix +++ b/modules/podman.nix @@ -33,6 +33,10 @@ # Prune volumes currently unused by any container # https://docs.podman.io/en/stable/markdown/podman-system-prune.1.html#volumes "--volumes" + # Only remove containers and images created at least one week ago. + # https://docs.podman.io/en/stable/markdown/podman-system-prune.1.html#filter-filters + # https://pkg.go.dev/maze.io/x/duration#ParseDuration + "--filter until=7d" ]; }; };