rename "device" config tree as "hardware"

we are also using "device" for "network device" (as in eth0,
wlan0 etc) so this makes it a bit less confusing perhaps
This commit is contained in:
Daniel Barlow 2023-03-03 22:52:33 +00:00
parent 263882cbe4
commit e0ea576674
10 changed files with 38 additions and 37 deletions

View file

@ -15,7 +15,7 @@ in rec {
imports = [ ../../modules/wlan.nix ];
services.wlan = config.device.networkInterfaces.wlan_24;
services.wlan = config.hardware.networkInterfaces.wlan_24;
services.hostap = hostapd (services.wlan) {
params = {