setup up binary cache on server #16
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Priority
High
Priority
Low
Priority
Medium
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
luuumine/nixos#16
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
right now, the server builds every package and configuration for each commit to main or to a pr branch.
the cache stays in the server's /nix/store because the runner is native. this allows the server to rebuild itself very quickly by leveraging these auto builds and not rebuilding when updating it.
issue: other nodes, such as luminix or luminout, do not benefit from this at all. to update those nodes, i need to either rebuild the system locally on the device, or to deploy the update from the server.
solution: expose the server's nix store as a binary cache over the vpn. then, configure the other nodes to use it as a substituter so they can just download the pre-built binaries instantly instead of compiling everything locally.
see https://github.com/nix-community/harmonia ?