Skip to content

Commit

Permalink
mkIf around vpnnamespaces.wg
Browse files Browse the repository at this point in the history
  • Loading branch information
teevik committed Mar 11, 2024
1 parent 190a33f commit 07ea69b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nixarr/nixarr.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 07ea69b

Please sign in to comment.