2022-04-26 03:06:44 -07:00
|
|
|
{ config, lib, pkgs, ... }:
|
2021-11-17 04:50:18 -08:00
|
|
|
{
|
|
|
|
services.headphones = {
|
|
|
|
enable = true;
|
2022-04-26 03:06:44 -07:00
|
|
|
host = "192.168.1.240";
|
2021-11-17 04:50:18 -08:00
|
|
|
port = 8181;
|
|
|
|
user = "headphones";
|
|
|
|
group = "audio";
|
|
|
|
dataDir = "/data/music";
|
|
|
|
};
|
|
|
|
networking.firewall.allowedTCPPorts = [ 8181 ];
|
|
|
|
}
|