Split domains into their own var file and update all files accordingly
This commit is contained in:
parent
47bf9a94cd
commit
fe73fa0d1f
34 changed files with 143 additions and 117 deletions
|
@ -8,7 +8,7 @@
|
|||
icecast = {
|
||||
enable = true;
|
||||
listen.port = 265;
|
||||
hostname = "icecast.${config.secrets.jimDomain}";
|
||||
hostname = "icecast.${config.domains.jim1}";
|
||||
admin = {
|
||||
user = "jimbo";
|
||||
password = "${config.secrets.castAdminPass}";
|
||||
|
@ -19,7 +19,7 @@
|
|||
</authentication>
|
||||
|
||||
<location>Canada</location>
|
||||
<admin>jimbo@jimbosfiles.com</admin>
|
||||
<admin>jimbo@${config.domains.jim2}</admin>
|
||||
|
||||
<mount type="normal">
|
||||
<mount-name>/jimbops.opus</mount-name>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
services.nginx.virtualHosts."icecast.${config.secrets.jimDomain}" = {
|
||||
services.nginx.virtualHosts."icecast.${config.domains.jim1}" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue