chore: remove dead configuration (#352)

Drop declarations that nothing references, including the incorrect
`attrs.listToAttrs = lib.genAttrs` alias.
This commit is contained in:
ryan4yin | 二花 authored and GitHub committed 2026-10-03 10:09:38 +08:00
1 parent a902678522
commit 8b37fc0a7d
7 files changed
-137

No files matched your search

-13
View File
@@ -18,7 +18,6 @@ rec {
"2400:3200::1" # Alidns
"2606:4700:4700::1111" # Cloudflare
];
prefixLength = 24;
# Dedicated VIP block for the k3s clusters, outside the router's DHCP pool
# (.2-.99). One /29 per cluster, handed to kube-vip: the first usable address
@@ -155,18 +154,6 @@ rec {
};
};
hostsInterface = lib.attrsets.mapAttrs (key: val: {
interfaces."${val.iface}" = {
useDHCP = false;
ipv4.addresses = [
{
inherit prefixLength;
address = val.ipv4;
}
];
};
}) hostsAddr;
ssh = {
# define the host alias for remote builders
# this config will be written to /etc/ssh/ssh_config