fix: nix optimise storage

This commit is contained in:
Ryan Yin
2023-12-09 16:37:54 +08:00
parent c170e251ac
commit e3a17925f2

View File

@@ -16,6 +16,10 @@
# for nix server, we do not need to keep too much generations
boot.loader.systemd-boot.configurationLimit = lib.mkDefault 10;
# Manual optimise storage: nix-store --optimise
# https://nixos.org/manual/nix/stable/command-ref/conf-file.html#conf-auto-optimise-store
nix.settings.auto-optimise-store = true;
# Set your time zone.
time.timeZone = "Asia/Shanghai";