13 lines
308 B
Nix
13 lines
308 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
{
|
||
|
services.gonic.enable = true;
|
||
|
services.gonic.settings = ''
|
||
|
music-path /data/music
|
||
|
podcast-path /data/music
|
||
|
cache-path /data/cache
|
||
|
'';
|
||
|
services.gonic.group = "audio";
|
||
|
services.gonic.user = "headphones";
|
||
|
networking.firewall.allowedTCPPorts = [ 4747 ];
|
||
|
}
|