grimm-nixos-laptop/modules/nix_cache.nix
2024-05-11 22:55:59 +02:00

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