grimm-nixos-laptop/modules2/nix_cache.nix
2025-02-05 11:41:17 +01:00

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}";
};
}