fmt
This commit is contained in:
+5
-3
@@ -235,7 +235,7 @@ in {
|
|||||||
network. You might have to use this option to extend your list
|
network. You might have to use this option to extend your list
|
||||||
with your local IP range by passing it with this option.
|
with your local IP range by passing it with this option.
|
||||||
'';
|
'';
|
||||||
example = [ "192.168.2.0/24" ];
|
example = ["192.168.2.0/24"];
|
||||||
};
|
};
|
||||||
|
|
||||||
vpnTestService = {
|
vpnTestService = {
|
||||||
@@ -308,11 +308,13 @@ in {
|
|||||||
port = cfg.vpn.vpnTestService.port;
|
port = cfg.vpn.vpnTestService.port;
|
||||||
protocol = "tcp";
|
protocol = "tcp";
|
||||||
};
|
};
|
||||||
accessibleFrom = [
|
accessibleFrom =
|
||||||
|
[
|
||||||
"192.168.1.0/24"
|
"192.168.1.0/24"
|
||||||
"192.168.0.0/24"
|
"192.168.0.0/24"
|
||||||
"127.0.0.1"
|
"127.0.0.1"
|
||||||
] ++ cfg.vpn.accessibleFrom ;
|
]
|
||||||
|
++ cfg.vpn.accessibleFrom;
|
||||||
wireguardConfigFile = cfg.vpn.wgConf;
|
wireguardConfigFile = cfg.vpn.wgConf;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ in {
|
|||||||
RemoveIPC = true;
|
RemoveIPC = true;
|
||||||
PrivateMounts = true;
|
PrivateMounts = true;
|
||||||
ProtectSystem = "strict";
|
ProtectSystem = "strict";
|
||||||
ReadWritePaths = [ cfg.configDir ];
|
ReadWritePaths = [cfg.configDir];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user