Skip to content

Commit

Permalink
bird: config check fails if roagen is enabled
Browse files Browse the repository at this point in the history
The generated roa config is not available at build time. That causes the
config check to fail and thus needs to be disabled.
  • Loading branch information
fpletz committed Dec 1, 2024
1 parent 5559de5 commit d1983d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/bird2.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ in

services.bird2 = {
enable = true;
checkConfig = lib.mkIf cfg.roagen.enable false;
config = ''
define OWNAS = ${toString cfg.as};
define OWNIP = ${toString cfg.addr.v6};
Expand Down

0 comments on commit d1983d8

Please sign in to comment.