liminix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 5bf8e8522a3d050c85c0a09e757f272fda76f042
parent 648ea5613bf45424762d9f847e4ff1319f256a4e
Author: Daniel Barlow <dan@telent.net>
Date:   Sun, 16 Jul 2023 17:56:07 +0100

update wlan test to use module

Diffstat:
Mtests/wlan/configuration.nix | 10++++++----
1 file changed, 6 insertions(+), 4 deletions(-)

diff --git 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";