Skip to content

Commit

Permalink
+
Browse files Browse the repository at this point in the history
  • Loading branch information
oluceps committed Feb 5, 2025
1 parent ca67809 commit 03065a5
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 29 deletions.
12 changes: 7 additions & 5 deletions hosts/abhoth/network.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@
skip-kernel-setup true
local-path /var/run/babeld/ro.sock
router-id f2:3c:95:50:a1:73
${lib.concatStringsSep "\n" (
map (n: "interface wg-${n} type tunnel rtt-max 512") (
builtins.attrNames (lib.conn { }).${config.networking.hostName}
)
)}
interface wg-yidhra type tunnel rtt-min 64 rtt-max 256
interface wg-hastur type tunnel rtt-min 165 rtt-max 256
interface wg-azasos type tunnel rtt-min 50 rtt-max 256 rtt-decay 64
interface wg-kaambl type tunnel rtt-min 210 rtt-max 512 rtt-decay 120
interface wg-eihort type tunnel rtt-min 170 rtt-max 384 rtt-decay 60
redistribute ip fdcc::/64 ge 64 le 128 local allow
redistribute proto 42
redistribute local deny
Expand Down
12 changes: 7 additions & 5 deletions hosts/azasos/network.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@
skip-kernel-setup true
local-path /var/run/babeld/ro.sock
router-id fa:16:3e:d3:09:f8
${lib.concatStringsSep "\n" (
map (n: "interface wg-${n} type tunnel rtt-max 512") (
builtins.attrNames (lib.conn { }).${config.networking.hostName}
)
)}
interface wg-abhoth type tunnel rtt-min 98 rtt-max 256
interface wg-hastur type tunnel rtt-min 46 rtt-max 256
interface wg-yidhra type tunnel rtt-min 42 rtt-max 256
interface wg-kaambl type tunnel rtt-min 94 rtt-max 256 rtt-decay 68
interface wg-eihort type tunnel rtt-min 40 rtt-max 256
redistribute ip fdcc::/64 ge 64 le 128 local allow
redistribute proto 42
redistribute local deny
Expand Down
12 changes: 7 additions & 5 deletions hosts/eihort/network.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@
skip-kernel-setup true
local-path /var/run/babeld/ro.sock
router-id ac:1f:6b:e5:fe:3a
${lib.concatStringsSep "\n" (
map (n: "interface wg-${n} type tunnel rtt-max 512") (
builtins.attrNames (lib.conn { }).${config.networking.hostName}
)
)}
interface wg-yidhra type tunnel rtt-min 50 rtt-max 256
interface wg-abhoth type tunnel rtt-min 160 rtt-max 256
interface wg-azasos type tunnel rtt-min 40 rtt-max 256
interface wg-kaambl type tunnel rtt-min 20 rtt-max 256 rtt-decay 32
interface wg-hastur type tunnel rtt-min 0.5 rtt-max 256 rtt-decay 32
redistribute ip fdcc::/64 ge 64 le 128 local allow
redistribute proto 42
redistribute local deny
Expand Down
12 changes: 7 additions & 5 deletions hosts/hastur/network.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@
skip-kernel-setup true
local-path /var/run/babeld/ro.sock
router-id 3c:7c:3f:22:49:80
${lib.concatStringsSep "\n" (
map (n: "interface wg-${n} type tunnel rtt-max 512") (
builtins.attrNames (lib.conn { }).${config.networking.hostName}
)
)}
interface wg-yidhra type tunnel rtt-min 55 rtt-max 256
interface wg-abhoth type tunnel rtt-min 160 rtt-max 256
interface wg-azasos type tunnel rtt-min 50 rtt-max 256
interface wg-kaambl type tunnel rtt-min 5 rtt-max 256 rtt-decay 120
interface wg-eihort type tunnel rtt-min 0.5 rtt-max 256 rtt-decay 32
redistribute ip fdcc::/64 ge 64 le 128 local allow
redistribute proto 42
redistribute local deny
Expand Down
12 changes: 7 additions & 5 deletions hosts/kaambl/network.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@
skip-kernel-setup true
local-path /var/run/babeld/ro.sock
router-id 38:d5:7a:e2:19:7d
${lib.concatStringsSep "\n" (
map (n: "interface wg-${n} type tunnel rtt-max 512") (
builtins.attrNames (lib.conn { }).${config.networking.hostName}
)
)}
interface wg-yidhra type tunnel rtt-min 60 rtt-max 256
interface wg-abhoth type tunnel rtt-min 210 rtt-max 256 rtt-decay 90
interface wg-azasos type tunnel rtt-min 55 rtt-max 256
interface wg-hastur type tunnel rtt-min 10 rtt-max 256 rtt-decay 90
interface wg-eihort type tunnel rtt-min 5 rtt-max 256 rtt-decay 90
redistribute ip fdcc::/64 ge 64 le 128 local allow
redistribute proto 42
redistribute local deny
Expand Down
11 changes: 7 additions & 4 deletions hosts/yidhra/network.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@
skip-kernel-setup true
local-path /var/run/babeld/ro.sock
router-id 00:16:3e:0c:cd:5d
${lib.concatStringsSep "\n" (
map (n: "interface wg-${n} type tunnel rtt-max 512") builtins.attrNames
(lib.conn { }).${config.networking.hostName}
)}
interface wg-abhoth type tunnel rtt-min 64 rtt-max 256
interface wg-hastur type tunnel rtt-min 55 rtt-max 256
interface wg-azasos type tunnel rtt-min 42 rtt-max 256
interface wg-kaambl type tunnel rtt-min 70 rtt-max 256 rtt-decay 120
interface wg-eihort type tunnel rtt-min 48 rtt-max 256 rtt-decay 60
redistribute ip fdcc::/64 ge 64 le 128 local allow
redistribute proto 42
redistribute local deny
Expand Down

0 comments on commit 03065a5

Please sign in to comment.