nix-config/nixos/_mixins/services/netbird.nix
2024-05-23 15:02:20 -04:00

13 lines
251 B
Nix

{ pkgs, lib, desktop, ... }: {
environment.systemPackages = lib.optionals (desktop != null) [
pkgs.netbird-ui
];
services.netbird.enable = true;
networking = {
firewall = {
# trustedInterfaces = [ "tailscale0" ];
};
};
}