chore: apply nix fmt
This commit is contained in:
parent
caa6948199
commit
e2bd4444d2
47 changed files with 274 additions and 187 deletions
|
|
@ -11,17 +11,20 @@ let
|
|||
folder
|
||||
;
|
||||
in
|
||||
with lib; mkIf enable {
|
||||
services.nginx.virtualHosts = with lib; mkIf (domain != null) {
|
||||
"${domain}" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://[::1]:${toString port}";
|
||||
proxyWebsockets = true;
|
||||
with lib;
|
||||
mkIf enable {
|
||||
services.nginx.virtualHosts =
|
||||
with lib;
|
||||
mkIf (domain != null) {
|
||||
"${domain}" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://[::1]:${toString port}";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
services.navidrome = {
|
||||
inherit enable;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue