Compare commits

..

3 Commits

Author SHA1 Message Date
aa0475161f chore(deps): update beads digest to 83d3e4f
All checks were successful
CI / check (pull_request) Successful in 6m32s
CI / build-and-cache (boxy) (pull_request) Has been skipped
CI / build-and-cache (john-endesktop) (pull_request) Has been skipped
CI / build-and-cache (live-usb) (pull_request) Has been skipped
CI / build-and-cache (nix-book) (pull_request) Has been skipped
CI / build-and-cache (nix-deck) (pull_request) Has been skipped
CI / build-and-cache (zix790prors) (pull_request) Has been skipped
2026-02-09 20:02:42 +00:00
e2a81e7290 Merge branch 'polecat/dust/x-fqaob@mlfbyrhb': add harmonia binary cache service
Some checks failed
CI / check (push) Successful in 5m34s
CI / build-and-cache (boxy) (push) Failing after 10m3s
CI / build-and-cache (john-endesktop) (push) Failing after 8m49s
CI / build-and-cache (live-usb) (push) Failing after 1m54s
CI / build-and-cache (nix-book) (push) Failing after 1m52s
CI / build-and-cache (nix-deck) (push) Failing after 2m20s
CI / build-and-cache (zix790prors) (push) Failing after 1m48s
2026-02-09 08:14:09 -08:00
7610a9c0e1 feat(john-endesktop): add harmonia binary cache service
Replace broken k8s harmonia deployment with native NixOS service.

Configuration:
- services.harmonia.enable = true
- Bind to [::]:5000 (IPv4 and IPv6)
- Sign key at /etc/harmonia/signing-key.private
- Open firewall port 5000

The signing key must be placed manually on john-endesktop at
/etc/harmonia/signing-key.private using the key generated earlier.

Closes: x-fqaob
2026-02-09 08:10:17 -08:00
3 changed files with 16 additions and 5 deletions

8
flake.lock generated
View File

@@ -8,17 +8,17 @@
]
},
"locked": {
"lastModified": 1770604276,
"narHash": "sha256-U5u6LI8KyKf4J5fl3BfOT7woLa2tJ4JVR3y33Fa6UAs=",
"lastModified": 1770666901,
"narHash": "sha256-IsZlmSnEZUA1o0T3wcN+KKOft7D8+Qt/uoN+wQ/YLAA=",
"owner": "steveyegge",
"repo": "beads",
"rev": "bcfaed92f67238b9f4844445dca8b9fcb7abeaf3",
"rev": "83d3e4fe20b2efcac7689f06ad1969d9e20a815a",
"type": "github"
},
"original": {
"owner": "steveyegge",
"repo": "beads",
"rev": "bcfaed92f67238b9f4844445dca8b9fcb7abeaf3",
"rev": "83d3e4fe20b2efcac7689f06ad1969d9e20a815a",
"type": "github"
}
},

View File

@@ -48,7 +48,7 @@
beads = {
# v0.49.1 has dolt server mode support (gt-1mf.3)
# Pinned to 259ddd92 - uses Go 1.24 compatible with nixpkgs
url = "github:steveyegge/beads/bcfaed92f67238b9f4844445dca8b9fcb7abeaf3";
url = "github:steveyegge/beads/83d3e4fe20b2efcac7689f06ad1969d9e20a815a";
inputs.nixpkgs.follows = "nixpkgs-unstable";
};

View File

@@ -54,6 +54,7 @@ with lib;
4000 # nfs callback
4001 # nlockmgr
4002 # mountd
5000 # harmonia binary cache
20048 # mountd
];
allowedUDPPorts = [
@@ -148,6 +149,16 @@ with lib;
};
};
# Harmonia binary cache server
# Replaces the broken k8s deployment with native NixOS service
services.harmonia = {
enable = true;
signKeyPath = "/etc/harmonia/signing-key.private";
settings = {
bind = "[::]:5000";
};
};
# Time zone
time.timeZone = "America/Los_Angeles"; # Adjust as needed