13 lines
259 B
Nix
13 lines
259 B
Nix
|
{config, lib, pkgs, ... }:
|
||
|
{
|
||
|
services.headphones = {
|
||
|
enable = true;
|
||
|
host = "192.168.1.6";
|
||
|
port = 8181;
|
||
|
user = "headphones";
|
||
|
group = "headphones";
|
||
|
dataDir = "/data/downloaded";
|
||
|
};
|
||
|
networking.firewall.allowedTCPPorts = [ 8181 ];
|
||
|
}
|