2021-11-17 04:50:18 -08:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
|
|
services.gonic.enable = true;
|
|
|
|
services.gonic.settings = ''
|
2022-06-15 06:07:24 -07:00
|
|
|
music-path /mnt/data/music/
|
2022-06-15 06:04:08 -07:00
|
|
|
podcast-path /mnt/data/podcasts
|
2021-11-17 04:50:18 -08:00
|
|
|
cache-path /data/cache
|
2022-06-15 06:04:08 -07:00
|
|
|
'';
|
2021-11-17 04:50:18 -08:00
|
|
|
services.gonic.group = "audio";
|
|
|
|
services.gonic.user = "headphones";
|
|
|
|
networking.firewall.allowedTCPPorts = [ 4747 ];
|
|
|
|
}
|