mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 10:58:02 +00:00
hosts/ni/setups/music: update gonic settings
This commit is contained in:
parent
b812da0e4e
commit
2d0452aa68
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user