helm/headphones.nix
2022-03-15 20:36:48 +10:00

13 lines
251 B
Nix

{config, lib, pkgs, ... }:
{
services.headphones = {
enable = true;
host = "172.16.11.240";
port = 8181;
user = "headphones";
group = "audio";
dataDir = "/data/music";
};
networking.firewall.allowedTCPPorts = [ 8181 ];
}