2024-10-15 17:46:44 -04:00
|
|
|
{ pkgs, config, ... }:
|
2024-10-09 03:36:08 -04:00
|
|
|
{
|
2024-10-07 11:42:34 -04:00
|
|
|
imports = [
|
|
|
|
./nginx
|
2024-10-29 01:07:07 -04:00
|
|
|
./liquidsoap
|
2024-10-07 11:42:34 -04:00
|
|
|
];
|
|
|
|
|
2024-10-29 01:07:07 -04:00
|
|
|
services.icecast = {
|
2024-11-13 09:43:47 -05:00
|
|
|
enable = config.system.server.enable;
|
2024-10-29 01:07:07 -04:00
|
|
|
listen.port = 265;
|
|
|
|
hostname = "icecast.${config.domains.jim1}";
|
|
|
|
admin = {
|
|
|
|
user = "jimbo";
|
|
|
|
password = "${config.secrets.castAdminPass}";
|
2024-08-26 20:45:07 -04:00
|
|
|
};
|
2024-10-29 01:07:07 -04:00
|
|
|
extraConf = ''
|
|
|
|
<authentication>
|
|
|
|
<source-password>${config.secrets.castSourcePass}</source-password>
|
|
|
|
</authentication>
|
|
|
|
|
|
|
|
<location>Canada</location>
|
2024-11-13 04:10:42 -05:00
|
|
|
<admin>contact@${config.domains.jim2}</admin>
|
2024-10-29 01:07:07 -04:00
|
|
|
'';
|
2024-08-26 20:45:07 -04:00
|
|
|
};
|
|
|
|
}
|