# SPDX-FileCopyrightText: V # SPDX-License-Identifier: OSL-3.0 { config, ... }: { services.murmur = { enable = true; # This isn't actually the hostname, it's the address to bind on. hostName = builtins.head config.networking.wireguard.interfaces.wg0.ips; # Another misleading name— it's also used as the root channel name. registerName = "Pool"; }; networking.firewall.interfaces.wg0 = { allowedTCPPorts = [ config.services.murmur.port ]; allowedUDPPorts = [ config.services.murmur.port ]; }; }