liminix/tests/wlan/wpa_service.nix
catvayor c5e48f5c9f
All checks were successful
build liminix / build_vm_qemu_mips (pull_request) Successful in 19s
build liminix / build_zyxel-nwa50ax_mips (pull_request) Successful in 19s
build liminix / test_hostapd (pull_request) Successful in 19s
feat(ci-wlan): use wpa_supplicant
2024-09-30 13:16:57 +02:00

21 lines
313 B
Nix

{
liminix,
wpa_supplicant,
lib,
}:
{
interface,
driver,
config-file,
}:
let
inherit (liminix.services) longrun;
inherit (lib.strings) escapeShellArg;
in
longrun {
name = "wpa_supplicant";
run =
''
${wpa_supplicant}/bin/wpa_supplicant -D${driver} -i${interface} -c ${config-file}
'';
}