Skip to content

nixos/netbird-relay: init module - #559588

Open
woile wants to merge 1 commit into
NixOS:masterfrom
woile:feat/netbird-relay
Open

nixos/netbird-relay: init module#559588
woile wants to merge 1 commit into
NixOS:masterfrom
woile:feat/netbird-relay

Conversation

@woile

@woile woile commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Things done


This PR introduces an independent Netbird Relay under: services.netbird.relay.

I didn't want to introduce it under services.netbird.server.relay because Netbird actually has a new server component which includes a relay (it also uses a YAML config). Which is the direction I think we should follow. So to prevent a future conflict, I wanted to keep it independent from the beginning.

Furthermore, this component can be run in isolation, an operator may want to run 1 or more relays and feed them to the control plane, whether the server thing I mentioned before is developed or not.

@woile
woile requested review from PatrickDaG and nazarewk September 3, 2026 16:48
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: changelog This PR adds or changes release notes 8.has: module (update) This PR changes an existing module in `nixos/` 8.has: documentation This PR adds or changes documentation labels Sep 3, 2026
@woile
woile force-pushed the feat/netbird-relay branch from fb82dfc to d33589f Compare September 3, 2026 16:57
@nixpkgs-ci
nixpkgs-ci Bot requested a review from GetPsyched September 3, 2026 17:04
@woile
woile force-pushed the feat/netbird-relay branch from d33589f to f2c5574 Compare September 4, 2026 06:07
@woile woile mentioned this pull request Sep 6, 2026
10 tasks
@nixos-discourse

Copy link
Copy Markdown

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/prs-ready-for-review/3032/7518

@h7x4 h7x4 added 8.has: module (new) This PR adds a module in `nixos/` 8.has: tests This PR has tests labels Sep 6, 2026

@PatrickDaG PatrickDaG left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some miscellaneous improvements but nothing major or imo necessarily blocking.
LGTM.

The review was aided by AI(GPT-5.6-sol), I have checked everything myself, if I missed anything I am very sorry. All text was written by me.

Comment thread nixos/tests/netbird-relay.nix
Comment thread nixos/modules/services/networking/netbird/netbird-relay.md Outdated
Comment thread nixos/modules/services/networking/netbird/netbird-relay.nix
Comment thread nixos/modules/services/networking/netbird/netbird-relay.md Outdated
Comment thread nixos/tests/netbird-relay.nix Outdated
Comment thread nixos/modules/services/networking/netbird/netbird-relay.nix Outdated
Comment thread nixos/modules/services/networking/netbird/netbird-relay.nix
Comment thread nixos/modules/services/networking/netbird/netbird-relay.nix Outdated
Comment thread nixos/tests/netbird-relay.nix
Comment thread nixos/modules/services/networking/netbird/netbird-relay.md Outdated
@nixpkgs-ci nixpkgs-ci Bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Sep 9, 2026
@woile

woile commented Sep 9, 2026

Copy link
Copy Markdown
Contributor Author

Thanks @PatrickDaG for the review. I'm on holiday so I'll fix the missing comments next week. (Unless someone wants to merge this and send a new PR)

@woile
woile force-pushed the feat/netbird-relay branch from f2c5574 to e172825 Compare September 13, 2026 09:03
@woile
woile force-pushed the feat/netbird-relay branch from e172825 to c3472d0 Compare September 13, 2026 09:16
@woile

woile commented Sep 13, 2026

Copy link
Copy Markdown
Contributor Author

@PatrickDaG can you take another look? I've fixed all the comments. If you think it's good could you tag someone with merge? thanks

@PatrickDaG

Copy link
Copy Markdown
Contributor

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: changelog This PR adds or changes release notes 8.has: documentation This PR adds or changes documentation 8.has: module (new) This PR adds a module in `nixos/` 8.has: module (update) This PR changes an existing module in `nixos/` 8.has: tests This PR has tests 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

5 participants