hosts/desktop: configure Gonic server

This commit is contained in:
Gabriel Arazas 2023-05-26 13:49:32 +08:00
parent 1250f14cc0
commit f6809a7cea
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -34,5 +34,20 @@ in
'';
};
services.gonic = {
enable = true;
settings = {
listen-addr = "172.23.0.1:4747";
cache-path = "/var/cache/gonic";
music-path = [ musicDir ];
podcast-path = "/var/cache/gonic/podcasts";
jukebox-enabled = true;
scan-interval = 1;
scan-at-start-enabled = true;
};
};
system.stateVersion = "23.05";
}