Merge pull request #19 from teevik/main

mkIf around vpnnamespaces.wg
This commit is contained in:
Rasmus Kirk
2024-03-11 08:19:25 +00:00
committed by GitHub
+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"