From 9d7e9d46d5fb6a4892fbb77401c20fcc97e6bbdd Mon Sep 17 00:00:00 2001 From: Florian Sesser <florian@private.storage> Date: Thu, 10 Feb 2022 11:23:06 +0000 Subject: [PATCH] Turn on auto-optimize nix store to save disk space on staging --- morph/lib/issuer-aws.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/morph/lib/issuer-aws.nix b/morph/lib/issuer-aws.nix index 8ff17280..80495e2d 100644 --- a/morph/lib/issuer-aws.nix +++ b/morph/lib/issuer-aws.nix @@ -32,4 +32,8 @@ dates = "weekly"; options = "--delete-older-than 30d"; }; + + # Turn on automatic optimization of nix store + # https://nixos.wiki/wiki/Storage_optimization + nix.autoOptimiseStore = true; } -- GitLab