diff --git a/nixos/common/services/docker.nix b/nixos/common/services/docker.nix
index 56aee0a9..27626a38 100644
--- a/nixos/common/services/docker.nix
+++ b/nixos/common/services/docker.nix
@@ -21,7 +21,7 @@
     autoPrune = {
       enable = true; 
       dates = "weekly"; 
-      flags = "--all";
+      flags = ["--all"];
     };
     daemon.settings = {
       registry-mirrors = [ "https://registry.sysctl.io" ];