nixos/home/routing-common: Send MTU DHCP option
Some checks reported warnings
CI / Check, build and cache Nix flake (push) Has been cancelled
Installer / Build installer (push) Successful in 4m36s

This commit is contained in:
Jack O'Sullivan 2023-12-17 15:19:14 +00:00
parent fc6c4f461f
commit f321a039f3

View File

@ -2,7 +2,7 @@ index: { lib, pkgs, assignments, ... }:
let let
inherit (lib) mkForce; inherit (lib) mkForce;
inherit (lib.my) net; inherit (lib.my) net;
inherit (lib.my.c.home) domain prefixes vips; inherit (lib.my.c.home) domain prefixes vips hiMTU;
dns-servers = [ dns-servers = [
{ {
@ -73,6 +73,10 @@ in
name = "domain-name-servers"; name = "domain-name-servers";
data = "${net.cidr.host 1 prefixes.hi.v4}, ${net.cidr.host 2 prefixes.hi.v4}"; data = "${net.cidr.host 1 prefixes.hi.v4}, ${net.cidr.host 2 prefixes.hi.v4}";
} }
{
name = "interface-mtu";
data = toString hiMTU;
}
]; ];
pools = [ pools = [
{ {