blob: 2a37425cd6f2ccb3a4b95795aeddd2be549f894c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
{ config, lib, ... }:
{
networking.knownNetworkServices = [ "Wi-Fi" "Thunderbolt Ethernet" ];
networking.dns = [ "8.8.8.8" "8.8.4.4" ];
test = ''
echo checking dhcp client ID is not configured in /activate >&2
if grep -q "networksetup -setdhcp" ${config.out}/activate; then
echo "unexpected dhcp client ID configuration in /activate" >&2
exit 1
fi
'';
}
|