about summary refs log tree commit diff
path: root/hosts/common/system/network.nix
blob: df5aa2785672f46f44fb3cf19b53204fab7b4538 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ config, pkgs, lib, hostname, ... }:

{
  networking = {
    hostName = hostname;
    useNetworkd = true;
    wireless.enable = false;
    useDHCP = false;
  };

  services.nscd.enable = false;
  system.nssModules = lib.mkForce [ ];

  # Use systemd-resolved
  services.resolved = {
    enable = true;
    dnssec = "false";
  };
}