Modify like, basically everything idk, probably a lot of secrets and url names and colmena and whatnot
This commit is contained in:
parent
0ab856b18e
commit
b3ba7481d8
107 changed files with 437 additions and 696 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
services.icecast = {
|
||||
listen.port = 73;
|
||||
hostname = "radio.${config.vars.mainDomain}";
|
||||
hostname = "radio.${config.vars.primeDomain}";
|
||||
admin = {
|
||||
user = "admin";
|
||||
password = config.secrets.cast.adminPass;
|
||||
|
@ -17,7 +17,7 @@
|
|||
<source-password>${config.secrets.cast.sourcePass}</source-password>
|
||||
</authentication>
|
||||
<location>Canada</location>
|
||||
<admin>contact@${config.vars.mainDomain}</admin>
|
||||
<admin>contact@${config.vars.primeDomain}</admin>
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
settings.init.allow_root.set(true)
|
||||
settings.scheduler.fast_queues.set(2)
|
||||
|
||||
stream = mksafe(playlist(mode='randomize', reload=1, reload_mode="rounds", "/storage/Music/NixBops"))
|
||||
stream = mksafe(playlist(mode='randomize', reload=1, reload_mode="rounds", "/network/Midas/Music/NixBops"))
|
||||
stream_fallback = fallback([stream, stream])
|
||||
|
||||
output.icecast(
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
settings.init.allow_root.set(true)
|
||||
settings.scheduler.fast_queues.set(2)
|
||||
|
||||
stream = mksafe(playlist(mode='randomize', reload=1, reload_mode="rounds", "/storage/Music/Scrap"))
|
||||
stream = mksafe(playlist(mode='randomize', reload=1, reload_mode="rounds", "/network/Midas/Music/Scrap"))
|
||||
stream_fallback = fallback([stream, stream])
|
||||
|
||||
output.icecast(
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
services.nginx.virtualHosts."radio.${config.vars.mainDomain}" = lib.mkIf config.services.icecast.enable {
|
||||
services.nginx.virtualHosts."${config.services.icecast.hostname}" = lib.mkIf config.services.icecast.enable {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue