From 0c6d5e0b33b8c56843a27123681d48fc04d27bba Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Thu, 12 Mar 2026 15:05:15 +0100 Subject: [PATCH] nixos/netbird: fix netbird wrapper --- nixos/modules/services/networking/netbird.nix | 1 - nixos/tests/netbird.nix | 11 ++++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/nixos/modules/services/networking/netbird.nix b/nixos/modules/services/networking/netbird.nix index cf632fad3c67..a718daaf9514 100644 --- a/nixos/modules/services/networking/netbird.nix +++ b/nixos/modules/services/networking/netbird.nix @@ -340,7 +340,6 @@ in substitute ${cfg.ui.package}/share/applications/netbird.desktop \ "$out/share/applications/${mkBin "netbird"}.desktop" \ --replace-fail 'Name=Netbird' "Name=NetBird @ ${client.service.name}" \ - --replace-fail '${lib.getExe cfg.ui.package}' "$out/bin/${mkBin "netbird-ui"}" \ --replace-fail 'Icon=netbird' "Icon=${cfg.ui.package}/share/pixmaps/netbird.png" '') ]; diff --git a/nixos/tests/netbird.nix b/nixos/tests/netbird.nix index 962b5377cc9d..2dae10e77017 100644 --- a/nixos/tests/netbird.nix +++ b/nixos/tests/netbird.nix @@ -7,12 +7,13 @@ ]; nodes = { - node = - { ... }: - { - services.netbird.enable = true; - services.netbird.clients.custom.port = 51819; + node = { + services.netbird = { + enable = true; + clients.custom.port = 51819; + ui.enable = true; }; + }; }; /*