forked from mirrors_public/oddlama_nix-config
chore: change sire ip to .2 and adguardhome to .3
This commit is contained in:
parent
4dec7027fa
commit
1467560525
3 changed files with 3 additions and 3 deletions
|
@ -4,7 +4,7 @@
|
||||||
boot.initrd.systemd.network = {
|
boot.initrd.systemd.network = {
|
||||||
enable = true;
|
enable = true;
|
||||||
networks."10-lan" = {
|
networks."10-lan" = {
|
||||||
address = ["192.168.1.2"];
|
address = ["192.168.1.2/24"];
|
||||||
matchConfig.MACAddress = config.repo.secrets.local.networking.interfaces.lan.mac;
|
matchConfig.MACAddress = config.repo.secrets.local.networking.interfaces.lan.mac;
|
||||||
networkConfig = {
|
networkConfig = {
|
||||||
IPv6PrivacyExtensions = "yes";
|
IPv6PrivacyExtensions = "yes";
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
"20-lan-self" = {
|
"20-lan-self" = {
|
||||||
address = ["192.168.1.2"];
|
address = ["192.168.1.2/24"];
|
||||||
matchConfig.Name = "lan-self";
|
matchConfig.Name = "lan-self";
|
||||||
networkConfig = {
|
networkConfig = {
|
||||||
IPv6PrivacyExtensions = "yes";
|
IPv6PrivacyExtensions = "yes";
|
||||||
|
|
Binary file not shown.
|
@ -6,7 +6,7 @@
|
||||||
}: let
|
}: let
|
||||||
inherit (lib) net;
|
inherit (lib) net;
|
||||||
lanCidrv4 = "192.168.1.0/24";
|
lanCidrv4 = "192.168.1.0/24";
|
||||||
dnsIp = net.cidr.host 2 lanCidrv4;
|
dnsIp = net.cidr.host 3 lanCidrv4;
|
||||||
in {
|
in {
|
||||||
# TODO make meta.kea module?
|
# TODO make meta.kea module?
|
||||||
# TODO reserve by default using assignIps algo?
|
# TODO reserve by default using assignIps algo?
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue