split up wireguard stuff
This commit is contained in:
@@ -1,5 +1,23 @@
|
||||
{ pkgs, service_configs, ... }:
|
||||
{
|
||||
vpnNamespaces.wg = {
|
||||
portMappings = [
|
||||
{
|
||||
from = service_configs.ports.bitmagnet;
|
||||
to = service_configs.ports.bitmagnet;
|
||||
|
||||
}
|
||||
];
|
||||
|
||||
openVPNPorts = [
|
||||
{
|
||||
# TODO! make an issue about this variable
|
||||
port = service_configs.ports.bitmagnet;
|
||||
protocol = "both";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
services.bitmagnet = {
|
||||
enable = true;
|
||||
|
||||
@@ -17,5 +35,4 @@
|
||||
enable = true;
|
||||
vpnNamespace = "wg";
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user