grimm-nixos-laptop/modules/nix_cache.nix

11 lines
242 B
Nix

{ config, ... }:
let
inherit (config.serverConfig) vhosts;
in
{
services.harmonia = {
enable = true;
signKeyPaths = [ "/var/cache-priv-key.pem" ];
settings.bind = "[::]:${builtins.toString vhosts.nix_cache_host.port}";
};
}