Skip to content

Commit 04a1cba

Browse files
committed
Temporary commit for CI testing
1 parent 16b18f1 commit 04a1cba

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

tests/networking-networkservices.nix

+10-2
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,23 @@
11
{ config, ... }:
22

33
{
4-
networking.knownNetworkServices = [ "Wi-Fi" "Thunderbolt Ethernet" ];
5-
networking.dns = [ "8.8.8.8" "8.8.4.4" ];
4+
networking.knownNetworkServices = [
5+
"Wi-Fi"
6+
"Thunderbolt Ethernet"
7+
];
8+
networking.dns = [
9+
"8.8.8.8"
10+
"8.8.4.4"
11+
];
612
networking.location."Home Lab" = {
713
search = [ "home.lab" ];
814
};
915

1016
test = ''
1117
echo checking dns settings in /activate >&2
1218
19+
cat ${config.out}/activate >&2
20+
echo "---TESTING--------" >&2
1321
grep "networksetup -switchtolocation 'Automatic'" ${config.out}/activate
1422
grep "networksetup -setdnsservers 'Wi-Fi' '8.8.8.8' '8.8.4.4'" ${config.out}/activate
1523
grep "networksetup -setdnsservers 'Thunderbolt Ethernet' '8.8.8.8' '8.8.4.4'" ${config.out}/activate

0 commit comments

Comments
 (0)