mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-13 12:13:36 +01:00
chore: remove dead configuration (#352)
Drop declarations that nothing references, including the incorrect `attrs.listToAttrs = lib.genAttrs` alias.
This commit is contained in:
1 parent
a902678522
commit
8b37fc0a7d
7 files changed
-137
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user