From 154ea3a3932c04195a916a57ec251e5f653b056a Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sun, 13 Nov 2022 19:37:02 +0000 Subject: [PATCH] howl: disable lukegbgp/try to fix bindsTo/partOf --- ops/nixos/howl/default.nix | 34 +--------------------------------- 1 file changed, 1 insertion(+), 33 deletions(-) diff --git a/ops/nixos/howl/default.nix b/ops/nixos/howl/default.nix index 03e63ff1da..c8beb0a267 100644 --- a/ops/nixos/howl/default.nix +++ b/ops/nixos/howl/default.nix @@ -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