summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleg Pykhalov <go.wigust@gmail.com>2026-01-14 19:51:03 +0300
committerOleg Pykhalov <go.wigust@gmail.com>2026-01-14 19:51:03 +0300
commit459c769a4fa09ce344b5e747600e115fe53ca523 (patch)
treecfa5a6b889b9d072952bd8d52b4ff8a5e6ab7219
parentnix: majordomo: Increase private network mask. (diff)
downloaddotfiles-459c769a4fa09ce344b5e747600e115fe53ca523.tar.gz
nix: container-systemd-nixos-dante: peers: Add guix-workstation.
-rw-r--r--nix/container-systemd-nixos-dante/hosts/nixos-systemd.nix5
-rw-r--r--nix/container-systemd-nixos-dante/peers/guix-workstation.conf10
2 files changed, 15 insertions, 0 deletions
diff --git a/nix/container-systemd-nixos-dante/hosts/nixos-systemd.nix b/nix/container-systemd-nixos-dante/hosts/nixos-systemd.nix
index 4d9702fa5..a9f0e0fb2 100644
--- a/nix/container-systemd-nixos-dante/hosts/nixos-systemd.nix
+++ b/nix/container-systemd-nixos-dante/hosts/nixos-systemd.nix
@@ -45,6 +45,10 @@
text = lib.readFile ./../peers/nixos-majordomo.conf;
mode = "0644";
};
+ "bird/peers/guix-workstation.conf" = {
+ text = lib.readFile ./../peers/guix-workstation.conf;
+ mode = "0644";
+ };
};
systemd.services.bird.reloadTriggers = [
config.environment.etc."bird/bird.conf".source
@@ -55,6 +59,7 @@
config.environment.etc."bird/peers/nixos-gw.conf".source
config.environment.etc."bird/peers/kubernetes.conf".source
config.environment.etc."bird/peers/nixos-majordomo.conf".source
+ config.environment.etc."bird/peers/guix-workstation.conf".source
];
systemd.tmpfiles.rules = [
"f /var/log/bird.log 0644 bird bird -"
diff --git a/nix/container-systemd-nixos-dante/peers/guix-workstation.conf b/nix/container-systemd-nixos-dante/peers/guix-workstation.conf
new file mode 100644
index 000000000..3428da6d9
--- /dev/null
+++ b/nix/container-systemd-nixos-dante/peers/guix-workstation.conf
@@ -0,0 +1,10 @@
+protocol bgp guixworkstation {
+ local as OWNAS;
+ ipv4 {
+ next hop self;
+ import all;
+ export none;
+ };
+ neighbor 192.168.0.191 as 64994;
+ multihop;
+}