hosts/ni/setups/music: update gonic settings

This commit is contained in:
Gabriel Arazas 2024-04-23 09:59:55 +08:00
parent b812da0e4e
commit 2d0452aa68
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360

View File

@ -12,7 +12,7 @@ in
# My portable music streaming server. # My portable music streaming server.
services.gonic = { services.gonic = {
enable = true; enable = true;
settings = { settings = rec {
listen-addr = "localhost:4747"; listen-addr = "localhost:4747";
cache-path = "/var/cache/gonic"; cache-path = "/var/cache/gonic";
music-path = music-path =
@ -22,7 +22,8 @@ in
++ lib.optionals config.suites.filesystem.setups.external-hdd.enable [ ++ lib.optionals config.suites.filesystem.setups.external-hdd.enable [
"/mnt/external-storage/Music" "/mnt/external-storage/Music"
]; ];
podcast-path = "/var/cache/gonic/podcasts"; podcast-path = "${cache-path}/podcasts";
playlists-path = "${cache-path}/playlists";
jukebox-enabled = true; jukebox-enabled = true;