{ config, lib, pkgs, ... }: with builtins; with lib; { config = { cynerd = { home-assistant = true; switch = { enable = true; lanAddress = "${config.cynerd.hosts.spt.mox}/24"; lanGateway = config.cynerd.hosts.spt.omnia; }; wifiAP.spt = { enable = true; qca988x = { interface = "wls1"; bssids = ["04:f0:21:24:24:d2" "08:f0:21:24:24:d2"]; channel = 7; }; }; }; services.btrfs.autoScrub = { enable = true; fileSystems = ["/"]; }; networking = { useNetworkd = true; useDHCP = false; }; systemd.network.networks = { "lan-brlan" = { matchConfig.Name = "lan* end0"; networkConfig.Bridge = "brlan"; bridgeVLANs = [ { bridgeVLANConfig = { EgressUntagged = 1; PVID = 1; }; } {bridgeVLANConfig.VLAN = 2;} ]; }; }; }; }