diff --git a/tests/wlan/configuration.nix b/tests/wlan/configuration.nix index 1148e4d..5776505 100644 --- a/tests/wlan/configuration.nix +++ b/tests/wlan/configuration.nix @@ -5,11 +5,13 @@ let in rec { services.loopback = config.hardware.networkInterfaces.lo; - imports = [ ../../modules/wlan.nix ]; + imports = [ + ../../modules/wlan.nix + ../../modules/hostapd + ]; - services.wlan = config.hardware.networkInterfaces.wlan_24; - - services.hostap = hostapd (services.wlan) { + services.hostap = config.system.service.hostapd { + interface = config.hardware.networkInterfaces.wlan_24; params = { ssid = "liminix"; country_code = "GB";