removed empty lines
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
{ lib, config, ... }:
|
||||
let
|
||||
setup = import ../servers/setup.nix { inherit lib config; };
|
||||
|
||||
standardProxyServices = {
|
||||
"firefox-syncserver" = {
|
||||
type = "proxyReverse";
|
||||
@@ -73,7 +72,6 @@ let
|
||||
type = "proxyReversePrivate";
|
||||
};
|
||||
};
|
||||
|
||||
generateProxyConfig =
|
||||
serviceName: serviceConfig:
|
||||
let
|
||||
@@ -89,9 +87,7 @@ let
|
||||
throw "Unknown proxy type: ${serviceConfig.type}";
|
||||
in
|
||||
lib.nameValuePair cfg.host (lib.mkIf cfg.enableProxy (proxyFunc cfg));
|
||||
|
||||
standardProxyConfigs = lib.mapAttrs' generateProxyConfig standardProxyServices;
|
||||
|
||||
in
|
||||
{
|
||||
config = lib.mkIf config.my.enableProxy {
|
||||
|
||||
Reference in New Issue
Block a user