summaryrefslogtreecommitdiff
path: root/system-profiles/networkmanager.nix
blob: bc5fd5ff8ada540bdd8d2f7952eb59063746d78b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ config, lib, ... }:

with lib;

{
  config = {
    networking = {
      networkmanager = {
        enable = true;
        dhcp = "internal";
        dns = mkForce "dnsmasq";
        logLevel = "INFO";
	settings.connectivity.url = "https://online.yggdrasil.li";
      };
    };

    systemd.services."NetworkManager-wait-online".enable = false;
    systemd.services."systemd-networkd-wait-online".enable = mkForce false;

    services.resolved.enable = false;

    environment.noXlibs = false;
  };
}