Skip to content

Instantly share code, notes, and snippets.

@herbetom
Created May 27, 2025 21:27
Show Gist options
  • Save herbetom/1be8aca2657027b20c5035525cf24d89 to your computer and use it in GitHub Desktop.
Save herbetom/1be8aca2657027b20c5035525cf24d89 to your computer and use it in GitHub Desktop.
{ 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