Skip to content

Commit

Permalink
Merge pull request #19 from teevik/main
Browse files Browse the repository at this point in the history
mkIf around vpnnamespaces.wg
  • Loading branch information
rasmus-kirk authored Mar 11, 2024
2 parents 190a33f + 07ea69b commit f73a10b
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 f73a10b

Please sign in to comment.