diff options
| author | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-02-25 13:47:47 -0600 |
|---|---|---|
| committer | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-02-25 13:47:47 -0600 |
| commit | fbecc291f4d3a5f93e487526701d43a494b88ece (patch) | |
| tree | 8af9070313d274ed5ef282f395b9163df3364eb2 /modules/system/nixos | |
| parent | d2747292dff98c64b974bdfe6b46bc62252298de (diff) | |
changes
Diffstat (limited to 'modules/system/nixos')
| -rw-r--r-- | modules/system/nixos/networking/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/system/nixos/networking/default.nix b/modules/system/nixos/networking/default.nix index a042411..f063036 100644 --- a/modules/system/nixos/networking/default.nix +++ b/modules/system/nixos/networking/default.nix @@ -10,4 +10,10 @@ enable = true; checkReversePath = "loose"; }; + + # disable all ipv6 + boot.kernel.sysctl = { + "net.ipv6.conf.all.disable_ipv6" = 1; + "net.ipv6.conf.default.disable_ipv6" = 1; + }; } |
