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
vpnnamespaces.wg = {
enable = cfg.vpn.enable ;
vpnnamespaces.wg = mkIf cfg.vpn.enable {
enable = true;
accessibleFrom = [
"192.168.1.0/24"
"127.0.0.1"