summary refs log tree commit diff
path: root/src/Game.cpp
AgeCommit message (Expand)Author
2024-02-15Give all threads specific thread roles and assert thread safetyMel
2024-02-12Split rendering into own thread and sync through render action listsMel
f='#n23'>23
# the public key for the current iteration of this cache is:
# bismuth-1:Fkyzfd9gfMUVKq/KfNClHaB2rUiAGtXTzYu96oZteKQ=

{ unstablePkgs, ... }:

let
  # bismuth's tailnet address
  cacheAddress = "100.85.58.31:3000";
in
{
  services.harmonia = {
    enable = true;
    # 24.11 does not include built-in zstd compression for harmonia yet.
    package = unstablePkgs.harmonia;
    # TODO: secrets...
    signKeyPaths = [ "/var/bismuth-binary-cache-key.pem" ];

    settings = {
      bind = cacheAddress;
      priority = 50; # lower priority than `cache.nixos.org`
    };
  };
}