diff --git a/machines/john-endesktop/configuration.nix b/machines/john-endesktop/configuration.nix index 21d7690..49768df 100644 --- a/machines/john-endesktop/configuration.nix +++ b/machines/john-endesktop/configuration.nix @@ -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