howl: disable lukegbgp/try to fix bindsTo/partOf

This commit is contained in:
Luke Granger-Brown 2022-11-13 19:37:02 +00:00
parent 79ae0d7fef
commit 154ea3a393

View file

@ -155,8 +155,7 @@ in {
where = dir;
};
bindMountSvc = dir: svc: (bindMount' dir) // {
bindsTo = [svc];
partOf = [svc];
requiredBy = [svc];
};
bindMount = dir: (bindMount' dir) // {
wantedBy = ["multi-user.target"];
@ -185,37 +184,6 @@ in {
my.scrapeJournal.enable = false; # Laptop, don't pull too much.
services.lukegbgp = let
local = {
asn = 205479;
v4 = "185.230.223.240";
v6 = "2a0c:2f07:ffff::79c";
};
# .254 / ::1 / 64496
in {
enable = true;
config = {
local.routerID = "185.230.223.240";
export = {
v4 = [ "92.118.31.0/24" ];
v6 = [ "2a09:a443::/48" ];
};
peering.emfixrs = {
inherit local;
remote = {
asn = 64496;
export_community = 6000;
must_be_next_hop = false;
routers = [{
v4 = "185.230.223.254";
v6 = "2a0c:2f07:ffff::1";
}];
};
};
};
};
# This value determines the NixOS release with which your system is to be
# compatible, in order to avoid breaking some software such as database
# servers. You should change this only after NixOS release notes say you