-
Notifications
You must be signed in to change notification settings - Fork 0
fix: use extra-substituters to avoid untrusted user warnings #1351
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -14,16 +14,13 @@ | |||||
| "nix-command" | ||||||
| "flakes" | ||||||
| ]; | ||||||
| use-xdg-base-directories = true; | ||||||
| substituters = [ | ||||||
| "https://cache.nixos.org" | ||||||
| extra-substituters = [ | ||||||
| "https://cache.garnix.io" | ||||||
| "https://cloudtide.cachix.org" | ||||||
| "https://nix-community.cachix.org" | ||||||
| "https://yazi.cachix.org" | ||||||
| ]; | ||||||
| trusted-public-keys = [ | ||||||
| "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" | ||||||
| extra-trusted-public-keys = [ | ||||||
| "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" | ||||||
| "cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=" | ||||||
|
||||||
| "cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=" | |
| "cache.garnix.io-1:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The order of keys in
extra-trusted-public-keysdoes not match the order of URLs inextra-substituters. While this doesn't affect functionality, maintaining a consistent order (e.g., alphabetical or matching the substituters list) makes it significantly easier to verify that each cache has its corresponding public key and improves long-term maintainability.