update hostapd to "build" syntax

This commit is contained in:
Daniel Barlow 2023-08-05 12:21:18 +01:00
parent 90c1d59aca
commit f82501d278
4 changed files with 14 additions and 18 deletions

View file

@ -54,7 +54,7 @@ in rec {
rootfsType = "jffs2";
hostname = "rotuer";
services.hostap = svc.hostapd {
services.hostap = svc.hostapd.build {
interface = config.hardware.networkInterfaces.wlan_24;
params = {
ssid = "liminix";
@ -64,7 +64,7 @@ in rec {
} // wirelessConfig;
};
services.hostap5 = svc.hostapd {
services.hostap5 = svc.hostapd.build {
interface = config.hardware.networkInterfaces.wlan_5;
params = rec {
ssid = "liminix_5";