mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
chore: nf-fmt-nix
This commit is contained in:
parent
7486517713
commit
9903866044
160 changed files with 4570 additions and 3019 deletions
|
|
@ -4,8 +4,7 @@
|
|||
access,
|
||||
gensokyo-zone,
|
||||
...
|
||||
}:
|
||||
let
|
||||
}: let
|
||||
inherit (gensokyo-zone.lib) mkAlmostOptionDefault;
|
||||
inherit (lib.modules) mkIf mkOptionDefault;
|
||||
inherit (config.services) nginx;
|
||||
|
|
@ -42,7 +41,9 @@ in {
|
|||
};
|
||||
};
|
||||
proxy.upstream = mkAlmostOptionDefault (
|
||||
if nginx.stream.upstreams.mqtts.enable then "mqtts" else "mqtt"
|
||||
if nginx.stream.upstreams.mqtts.enable
|
||||
then "mqtts"
|
||||
else "mqtt"
|
||||
);
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue