router: setup cameras vlan
All checks were successful
flake / flake (push) Successful in 1m14s

This commit is contained in:
Jake Hillion 2024-09-16 20:48:10 +01:00
parent 1189a41df9
commit 58a2e65a78

View File

@ -32,6 +32,14 @@
nat.enable = lib.mkForce false;
useDHCP = false;
vlans = {
cameras = {
id = 3;
interface = "eth1";
};
};
interfaces = {
enp1s0 = {
name = "eth0";
@ -47,6 +55,14 @@
}
];
};
cameras /* cameras@eth1 */ = {
ipv6.addresses = [
{
address = "fd00:408b:d218:92ee:c0::1";
prefixLength = 64;
}
];
};
enp3s0 = {
name = "eth2";
ipv4.addresses = [
@ -248,6 +264,17 @@
};
};
radvd = {
enable = true;
config = ''
interface cameras {
AdvSendAdvert on;
prefix fd00:408b:d218:92ee:c0::/64 { };
};
'';
};
unbound = {
enable = true;
settings = {