blob: 84c32e563512fda21b4ba2579424dfe689fb5602 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{ lib, ... }:
{
# Use systemd-networkd for networking
systemd.network = {
enable = true;
networks = {
wlan0 = {
matchConfig.Name = "wlan0";
networkConfig = { DHCP = "yes"; };
extraConfig = ''
[DHCPv4]
UseDNS=yes
UseDomains=yes
'';
};
};
};
networking = {
hostName = "aptos";
useNetworkd = true;
useDHCP = false;
private-wireguard.enable = true;
};
services.nscd.enable = false;
system.nssModules = lib.mkForce [ ];
}
|