{ pkgs, lib, config, ... }: { config = lib.mkIf config.alyraffauf.services.binaryCache.enable { services.nix-serve = { enable = true; secretKeyFile = "/var/cache-priv-key.pem"; }; }; }