diff options
author | Emily Trau <me@angus.ws> | 2023-02-18 13:28:04 +1100 |
---|---|---|
committer | Emily Trau <me@angus.ws> | 2023-02-18 13:28:04 +1100 |
commit | 949b1df785df8b7db59e780c49d9f1abb56c2b3c (patch) | |
tree | 8ed4e595a4ae7a43afce8baf533cea5c9a756176 /nixos/modules/services/networking/tailscale.nix | |
parent | bbe2cf62a823a197d0ff1a9f31c369d0e1edb004 (diff) | |
download | nixpkgs-949b1df785df8b7db59e780c49d9f1abb56c2b3c.tar nixpkgs-949b1df785df8b7db59e780c49d9f1abb56c2b3c.tar.gz nixpkgs-949b1df785df8b7db59e780c49d9f1abb56c2b3c.tar.bz2 nixpkgs-949b1df785df8b7db59e780c49d9f1abb56c2b3c.tar.lz nixpkgs-949b1df785df8b7db59e780c49d9f1abb56c2b3c.tar.xz nixpkgs-949b1df785df8b7db59e780c49d9f1abb56c2b3c.tar.zst nixpkgs-949b1df785df8b7db59e780c49d9f1abb56c2b3c.zip |
nixos/tailscale: fix config priority conflict
Diffstat (limited to 'nixos/modules/services/networking/tailscale.nix')
-rw-r--r-- | nixos/modules/services/networking/tailscale.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/networking/tailscale.nix b/nixos/modules/services/networking/tailscale.nix index 233bfdf9ebf..c81cf293ab6 100644 --- a/nixos/modules/services/networking/tailscale.nix +++ b/nixos/modules/services/networking/tailscale.nix @@ -82,8 +82,8 @@ in { }; boot.kernel.sysctl = mkIf (cfg.useRoutingFeatures == "server" || cfg.useRoutingFeatures == "both") { - "net.ipv4.conf.all.forwarding" = mkDefault true; - "net.ipv6.conf.all.forwarding" = mkDefault true; + "net.ipv4.conf.all.forwarding" = mkOverride 97 true; + "net.ipv6.conf.all.forwarding" = mkOverride 97 true; }; networking.firewall.checkReversePath = mkIf (cfg.useRoutingFeatures == "client" || cfg.useRoutingFeatures == "both") "loose"; |