blob: be55d54864f4bb5ff0d602f6ac9006772f72bcc1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{
config,
lib,
pkgs,
...
}:
with lib; {
config = {
cynerd = {
wifiAP.adm = {
enable = true;
ar9287.interface = "wlp3s0";
qca988x.interface = "wlp2s0";
};
};
networking = {
vlans = {
"brlan.guest" = {
interface = "brlan";
id = 100;
};
};
bridges = {
brlan.interfaces = ["end2" "lan0" "lan1" "lan2" "lan3" "lan4"];
brguest.interfaces = ["brlan.guest"];
};
interfaces.brlan.ipv4.addresses = [
{
address = config.cynerd.hosts.adm.omnia2;
prefixLength = 24;
}
];
defaultGateway = config.cynerd.hosts.adm.omnia;
nameservers = ["1.1.1.1" "8.8.8.8"];
dhcpcd.allowInterfaces = [];
};
};
}
|