From ff86b5be01c0de6cfc47d945ddd2a60c17c4d4ba Mon Sep 17 00:00:00 2001 From: Stefan Ellmauthaler Date: Wed, 17 Nov 2021 14:32:09 +0100 Subject: [PATCH] fixed issues Signed-off-by: Stefan Ellmauthaler --- baseconfiguration.nix | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/baseconfiguration.nix b/baseconfiguration.nix index 06f1b1c..20fadeb 100644 --- a/baseconfiguration.nix +++ b/baseconfiguration.nix @@ -36,20 +36,18 @@ nix = { autoOptimiseStore = true; + # Enable flakes + # Free up to 50GiB whenever there is less than 10GiB left. extraOptions = '' - experimental-features = nix-command flakes + experimental-features = nix-command flakes + min-free = ${toString (10* 1024 * 1024 * 1024)} + max-free = ${toString (1024 * 1024 * 1024)} ''; gc = { automatic = true; - persistent = true; dates = "weekly"; options = "--delete-older-than 30d"; }; - # Free up to 50GiB whenever there is less than 10GiB left. - extraOptions = '' - min-free = ${toString (10 * 1024 * 1024 * 1024)} - max-free = ${toString (50 * 1024 * 1024 * 1024)} - ''; }; nixpkgs = {