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