Allow server to be imported, deprioritize Jimbo. Those who nose.
This commit is contained in:
parent
5f0edcbb09
commit
d873588c59
42 changed files with 228 additions and 207 deletions
|
@ -8,7 +8,7 @@
|
|||
services.icecast = {
|
||||
enable = config.system.server.enable;
|
||||
listen.port = 265;
|
||||
hostname = "icecast.${config.domains.jim1}";
|
||||
hostname = "icecast.${config.domains.p1}";
|
||||
admin = {
|
||||
user = "jimbo";
|
||||
password = "${config.secrets.castAdminPass}";
|
||||
|
@ -19,7 +19,7 @@
|
|||
</authentication>
|
||||
|
||||
<location>Canada</location>
|
||||
<admin>contact@${config.domains.jim2}</admin>
|
||||
<admin>contact@${config.domains.p2}</admin>
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
radio="JimBops Radio",
|
||||
genre = "Anything",
|
||||
description="Music gathered by me, Jimbo.",
|
||||
website="https://icecast.${config.domains.jim1}",
|
||||
url="https://icecast.${config.domains.jim1}/jimbops.opus",
|
||||
website="https://icecast.${config.domains.p1}",
|
||||
url="https://icecast.${config.domains.p1}/jimbops.opus",
|
||||
mount="jimbops.opus",
|
||||
icy_metadata=["artist", "title"],
|
||||
public=true,
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
radio="Jimbo's Scrap",
|
||||
genre = "Scrapped",
|
||||
description="Music canned from the main radio.",
|
||||
website="https://icecast.${config.domains.jim1}",
|
||||
url="https://icecast.${config.domains.jim1}/jimscrapped.opus",
|
||||
website="https://icecast.${config.domains.p1}",
|
||||
url="https://icecast.${config.domains.p1}/jimscrapped.opus",
|
||||
mount="jimscrapped.opus",
|
||||
icy_metadata=["artist", "title"],
|
||||
public=true,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ lib, config, ... }:
|
||||
{
|
||||
services.nginx.virtualHosts."icecast.${config.domains.jim1}" = lib.mkIf services.icecast.enable {
|
||||
services.nginx.virtualHosts."icecast.${config.domains.p1}" = lib.mkIf config.services.icecast.enable {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue