NixOS-Config/modules/system/services/server/icecast/default.nix

26 lines
533 B
Nix
Raw Normal View History

{ pkgs, config, ... }:
2024-10-09 03:36:08 -04:00
{
imports = [
./nginx
./liquidsoap
];
services.icecast = {
enable = true;
listen.port = 265;
hostname = "icecast.${config.domains.jim1}";
admin = {
user = "jimbo";
password = "${config.secrets.castAdminPass}";
2024-08-26 20:45:07 -04:00
};
extraConf = ''
<authentication>
<source-password>${config.secrets.castSourcePass}</source-password>
</authentication>
<location>Canada</location>
<admin>contact@${config.domains.jim2}</admin>
'';
2024-08-26 20:45:07 -04:00
};
}