mkIf around vpnnamespaces.wg

This commit is contained in:
teevik
2024-03-11 02:48:14 +01:00
parent 190a33f8f3
commit 07ea69b5df
+2 -2
View File
@@ -181,8 +181,8 @@ in {
]; ];
# TODO: wtf to do about openports # TODO: wtf to do about openports
vpnnamespaces.wg = { vpnnamespaces.wg = mkIf cfg.vpn.enable {
enable = cfg.vpn.enable ; enable = true;
accessibleFrom = [ accessibleFrom = [
"192.168.1.0/24" "192.168.1.0/24"
"127.0.0.1" "127.0.0.1"