[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-80639":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":14,"stars7d":15,"stars30d":16,"stars90d":14,"forks30d":14,"starsTrendScore":14,"compositeScore":17,"rankGlobal":9,"rankLanguage":9,"license":18,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":21,"hasPages":19,"topics":22,"createdAt":9,"pushedAt":9,"updatedAt":23,"readmeContent":24,"aiSummary":25,"trendingCount":14,"starSnapshotCount":14,"syncStatus":15,"lastSyncTime":26,"discoverSource":27},80639,"nix-cache-beacon","adisbladis\u002Fnix-cache-beacon","adisbladis","mDNS discovery for Nix binary caches",null,"Go",59,1,3,0,2,8,0.9,"GNU General Public License v3.0",false,"master",true,[],"2026-06-12 02:04:04","# nix-cache-beacon - mDNS discovery for Nix binary caches\n\n_Status_: Alpha.\n\n`nix-cache-beacon` is a binary cache that uses mDNS service discovery to announce & find caches on the local network & races gets against discovered caches, turning your entire network of Nix nodes into a distributed binary cache.\n\n## Security\n\n`nix-cache-beacon` doesn't change the security model of package substitutions. Packages still need to be signed by a trusted key.\nDuring cache racing package signatures are checked before package metadata is returned.\n\nTraffic is _unencrypted_ & has potential privacy implications. meaning that nodes on the network can monitor for what you try to substitute.\n\nIf using the NixOS module the same cryptographic keys as your NixOS system will automatically be used.\n\n## Usage\n\nThe primary way to use `nix-cache-beacon` is via it's NixOS module.\n\n```nix\n{ ... }:\n{\n  services.nix-cache-beacon = {\n    # Announce cache to the local network\n    advert = {\n      enable = true;\n      port = 5000; # Harmonia port\n    };\n\n    # Enable local binary cache using discovered caches on the local network\n    cache.enable = true;\n  };\n\n  # Make Nix aware of our local network cache\n  nix.settings.substituters = [ \"http:\u002F\u002Flocalhost:5028\" ];\n\n  # Local binary cache using Harmonia\n  # nix-cache-beacon can be used with any cache implementation\n  services.harmonia.cache.enable = true; # Serve up local Nix store\n  networking.firewall.allowedTCPPorts = [ 5000 ]; # Open firewall port for Harmonia\n}\n```\n\n## License\n\n- The application is licensed under `GPL-3.0-or-later`\n- Nix expressions are licensed under `MIT`\n","nix-cache-beacon 是一个用于 Nix 二进制缓存的 mDNS 服务发现工具。它通过 mDNS 在本地网络中广播和查找缓存，并与发现的缓存进行竞争，从而将整个 Nix 节点网络转换为分布式二进制缓存。该项目使用 Go 语言编写，保持了 Nix 包替换的安全性模型，即包仍需由受信任的密钥签名，在缓存竞争过程中也会检查包签名。需要注意的是，该工具传输的数据未加密，可能带来隐私问题。适用于需要在局域网内共享 Nix 二进制缓存以加速构建过程的场景，特别是对于使用 NixOS 的用户，可以通过其提供的 NixOS 模块方便地配置启用。","2026-06-11 04:01:28","CREATED_QUERY"]