update wlan test to use module
This commit is contained in:
parent
648ea5613b
commit
5bf8e8522a
1 changed files with 6 additions and 4 deletions
|
@ -5,11 +5,13 @@ let
|
||||||
in rec {
|
in rec {
|
||||||
services.loopback = config.hardware.networkInterfaces.lo;
|
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 = config.system.service.hostapd {
|
||||||
|
interface = config.hardware.networkInterfaces.wlan_24;
|
||||||
services.hostap = hostapd (services.wlan) {
|
|
||||||
params = {
|
params = {
|
||||||
ssid = "liminix";
|
ssid = "liminix";
|
||||||
country_code = "GB";
|
country_code = "GB";
|
||||||
|
|
Loading…
Reference in a new issue