grimm-nixos-laptop/modules/nix_cache.nix

12 lines
237 B
Nix
Raw Normal View History

2024-05-11 22:55:59 +02:00
{ config, ... }:
2024-05-09 22:32:39 +02:00
let
2024-05-11 22:55:59 +02:00
inherit (config.serverConfig) vhosts;
2024-05-09 22:32:39 +02:00
in
{
2024-05-10 10:38:53 +02:00
services.harmonia = {
2024-05-09 22:32:39 +02:00
enable = true;
2024-05-10 10:38:53 +02:00
signKeyPath = "/var/cache-priv-key.pem";
settings.bind = "[::]:${builtins.toString vhosts.nix_cache_host.port}";
2024-05-09 22:32:39 +02:00
};
}