Don't add substituters = https://cache.lix.systems to /etc/nix/nix.conf #64

Open
opened 2025-12-24 20:46:26 +00:00 by rbt · 0 comments
Owner

From lix-project/lix#863:

cache.lix.systems is quite slow, and doesn't contain anything but releases. We should stop putting it in the default config in the installer and then enable it only for nix upgrade-nix, IMO.

Relevant code:

// Set up our substituters.
settings.insert(
"substituters".to_string(),
"https://cache.nixos.org https://cache.lix.systems".to_string(),
);
settings.insert(
"trusted-public-keys".to_string(),
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= cache.lix.systems:aBnZUw8zA7H35Cz2RyKFVs3H4PlGTLawyY5KRbvJR8o=".to_string()
);

From lix-project/lix#863: > `cache.lix.systems` is *quite slow*, and doesn't contain anything but releases. We should stop putting it in the default config in the installer and then enable it only for `nix upgrade-nix`, IMO. Relevant code: https://git.lix.systems/lix-project/lix-installer/src/commit/81a5d136aaf6b81adc044171f1eb118220d99b9e/src/action/common/place_nix_configuration.rs#L136-L144
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lix-project/lix-installer#64
No description provided.