joint ips & ports open through lambda
This commit is contained in:
@@ -8,14 +8,7 @@ let
|
||||
inherit name;
|
||||
value = {
|
||||
enable = true;
|
||||
ip = config.my.wgServerIp;
|
||||
};
|
||||
};
|
||||
mkEnabledProxy = name: {
|
||||
inherit name;
|
||||
value = {
|
||||
enable = true;
|
||||
enableProxy = true;
|
||||
ip = config.my.ips.wg-server;
|
||||
};
|
||||
};
|
||||
enableList = func: list: list |> map func |> builtins.listToAttrs;
|
||||
@@ -74,8 +67,6 @@ in
|
||||
"postgres"
|
||||
"paperless"
|
||||
# "stash"
|
||||
# ]
|
||||
# // enableList mkEnabledProxy [
|
||||
"bazarr"
|
||||
"collabora"
|
||||
"homepage"
|
||||
|
||||
Reference in New Issue
Block a user