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,9 +15,13 @@ in
settings = { settings = {
listen-addr = "localhost:4747"; listen-addr = "localhost:4747";
cache-path = "/var/cache/gonic"; cache-path = "/var/cache/gonic";
music-path = [ music-path =
"/srv/music" [
]; "/srv/Music"
]
++ lib.optionals config.suites.filesystem.setups.external-hdd.enable [
"/mnt/external-storage/Music"
];
podcast-path = "/var/cache/gonic/podcasts"; podcast-path = "/var/cache/gonic/podcasts";
jukebox-enabled = true; jukebox-enabled = true;