{ pkgs, config, ... }:
{
imports = [
./nginx
./liquidsoap
];
services.icecast = {
enable = true;
listen.port = 265;
hostname = "icecast.${config.domains.jim1}";
admin = {
user = "jimbo";
password = "${config.secrets.castAdminPass}";
};
extraConf = ''
${config.secrets.castSourcePass}
Canada
jimbo@${config.domains.jim2}
/jimbops.opus
JimBops Radio
Music gathered by me, Jimbo.
https://icecast.jimbosfiles.com/jimbops.opus
Anything
application/ogg
vorbis
/jimscrap.opus
Jimbo's Scrap
Music canned from the main radio.
https://icecast.jimbosfiles.com/jimscrap.opus
Scrapped
application/ogg
vorbis
'';
};
}