Skip to content

Commit 0f6ce60

Browse files
committed
nixos/common/wireguard: set redirectAll default to true
1 parent ac0e63f commit 0f6ce60

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

nixos/common/wireguard.nix

+4-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@
1111
type = lib.types.str;
1212
};
1313

14-
redirectAllTraffic = lib.mkEnableOption "";
14+
redirectAllTraffic = lib.mkOption {
15+
type = lib.types.bool;
16+
default = true;
17+
};
1518

1619
allowedIPs = lib.mkOption {
1720
type = lib.types.str;

0 commit comments

Comments
 (0)