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