chore: change sire ip to .2 and adguardhome to .3

This commit is contained in:
oddlama 2024-01-06 01:34:55 +01:00
parent 4dec7027fa
commit 1467560525
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
3 changed files with 3 additions and 3 deletions

View file

@ -4,7 +4,7 @@
boot.initrd.systemd.network = {
enable = true;
networks."10-lan" = {
address = ["192.168.1.2"];
address = ["192.168.1.2/24"];
matchConfig.MACAddress = config.repo.secrets.local.networking.interfaces.lan.mac;
networkConfig = {
IPv6PrivacyExtensions = "yes";
@ -41,7 +41,7 @@
'';
};
"20-lan-self" = {
address = ["192.168.1.2"];
address = ["192.168.1.2/24"];
matchConfig.Name = "lan-self";
networkConfig = {
IPv6PrivacyExtensions = "yes";

Binary file not shown.

View file

@ -6,7 +6,7 @@
}: let
inherit (lib) net;
lanCidrv4 = "192.168.1.0/24";
dnsIp = net.cidr.host 2 lanCidrv4;
dnsIp = net.cidr.host 3 lanCidrv4;
in {
# TODO make meta.kea module?
# TODO reserve by default using assignIps algo?