1
0
mirror of https://github.com/ellmau/nixos.git synced 2025-12-19 09:29:36 +01:00

fixed issues

Signed-off-by: Stefan Ellmauthaler <stefan.ellmauthaler@tu-dresden.de>
This commit is contained in:
Stefan Ellmauthaler 2021-11-17 14:32:09 +01:00
parent 9dcf54d963
commit ff86b5be01

View File

@ -36,20 +36,18 @@
nix = { nix = {
autoOptimiseStore = true; autoOptimiseStore = true;
# Enable flakes
# Free up to 50GiB whenever there is less than 10GiB left.
extraOptions = '' 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 = { gc = {
automatic = true; automatic = true;
persistent = true;
dates = "weekly"; dates = "weekly";
options = "--delete-older-than 30d"; 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 = { nixpkgs = {