Created
May 27, 2025 21:27
-
-
Save herbetom/1be8aca2657027b20c5035525cf24d89 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, lib, pkgs, ... }: | |
{ | |
services.bird.package = pkgs.bird3.overrideAttrs (old: rec { | |
version = "3.1.1-unstable-2025-05-26"; | |
src = pkgs.fetchFromGitLab { | |
domain = "gitlab.nic.cz"; | |
owner = "labs"; | |
repo = "bird"; | |
rev = "a99792a74a6d3a06aead20616b1989c0a054b347"; | |
hash = "sha256-3Ms9yozF/Ox/kSP9rzKvkrA0VBPQb1VjtbEInl8/KZM="; | |
}; | |
nativeBuildInputs = old.nativeBuildInputs ++ (with pkgs; [ | |
autoreconfHook | |
]); | |
}); | |
# systemd.services.bird.serviceConfig.ExecStart = lib.mkForce "${lib.getExe' config.services.bird.package "bird"} -c /etc/bird/bird.conf -d"; | |
systemd.services.bird.serviceConfig.RestartSec = "30s"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment