hosts/ni/setups/music: add optional path for Gonic service

This commit is contained in:
Gabriel Arazas 2024-04-06 10:55:03 +08:00
parent f48f094302
commit 7bef5de288
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360

View File

@ -15,8 +15,12 @@ in
settings = {
listen-addr = "localhost:4747";
cache-path = "/var/cache/gonic";
music-path = [
"/srv/music"
music-path =
[
"/srv/Music"
]
++ lib.optionals config.suites.filesystem.setups.external-hdd.enable [
"/mnt/external-storage/Music"
];
podcast-path = "/var/cache/gonic/podcasts";