joint ips & ports open through lambda

This commit is contained in:
2025-09-20 15:48:05 -06:00
parent 6e49c741f3
commit e3272a1dce
6 changed files with 25 additions and 57 deletions

View File

@@ -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"