aboutsummaryrefslogtreecommitdiff
path: root/modules/system/nixos/networking/default.nix
blob: f063036a82d79081882d02a58590abb9eac88dd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
  imports = [
    ./iwd.nix
    ./networkmanager.nix
    ./networkd.nix
    ./resolved.nix
  ];

  networking.firewall = {
    enable = true;
    checkReversePath = "loose";
  };

  # disable all ipv6
  boot.kernel.sysctl = {
    "net.ipv6.conf.all.disable_ipv6" = 1;
    "net.ipv6.conf.default.disable_ipv6" = 1;
  };
}