mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-24 17:58:30 +02:00
feat: enable storage optimise to reduce storage usage
This commit is contained in:
@@ -3,6 +3,8 @@
|
|||||||
|
|
||||||
nixConfig = {
|
nixConfig = {
|
||||||
experimental-features = [ "nix-command" "flakes" ];
|
experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
# Manual optimise storage: nix-store --optimise
|
||||||
|
auto-optimise-store = true;
|
||||||
|
|
||||||
substituters = [
|
substituters = [
|
||||||
# replace official cache with a mirror located in China
|
# replace official cache with a mirror located in China
|
||||||
|
|||||||
Reference in New Issue
Block a user