Devariable domains
This commit is contained in:
parent
2c4749f2cc
commit
984b12819e
55 changed files with 152 additions and 179 deletions
|
@ -8,7 +8,7 @@
|
|||
services.icecast = {
|
||||
enable = config.system.server.enable;
|
||||
listen.port = 73;
|
||||
hostname = "radio.${config.domains.p2}";
|
||||
hostname = "radio.nixfox.ca";
|
||||
admin = {
|
||||
user = "${config.sysusers.main}";
|
||||
password = "${config.secrets.castAdminPass}";
|
||||
|
@ -19,7 +19,7 @@
|
|||
</authentication>
|
||||
|
||||
<location>Canada</location>
|
||||
<admin>contact@${config.domains.p2}</admin>
|
||||
<admin>contact@nixfox.ca</admin>
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
services.nginx.virtualHosts."radio.${config.domains.p2}" = lib.mkIf config.services.icecast.enable {
|
||||
services.nginx.virtualHosts."radio.nixfox.ca" = lib.mkIf config.services.icecast.enable {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue