mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
fix: toString for ports for invidious
This commit is contained in:
parent
e8227960ad
commit
c416a64fe6
2 changed files with 2 additions and 2 deletions
|
|
@ -23,7 +23,7 @@ in {
|
||||||
};
|
};
|
||||||
config.services.nginx = {
|
config.services.nginx = {
|
||||||
access.invidious = mkIf cfg.enable {
|
access.invidious = mkIf cfg.enable {
|
||||||
url = mkOptionDefault "http://localhost:${cfg.port}";
|
url = mkOptionDefault "http://localhost:${toString cfg.port}";
|
||||||
};
|
};
|
||||||
virtualHosts = let
|
virtualHosts = let
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
|
|
||||||
|
|
@ -140,7 +140,7 @@ in {
|
||||||
useACMEHost = access.kitchencam.domain;
|
useACMEHost = access.kitchencam.domain;
|
||||||
};
|
};
|
||||||
access.invidious = {
|
access.invidious = {
|
||||||
url = "http://${mediabox.networking.access.hostnameForNetwork.local}:${mediabox.services.invidious.port}";
|
url = "http://${mediabox.networking.access.hostnameForNetwork.local}:${toString mediabox.services.invidious.port}";
|
||||||
};
|
};
|
||||||
virtualHosts = {
|
virtualHosts = {
|
||||||
${access.kanidm.domain} = {
|
${access.kanidm.domain} = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue