nixos/netbird: fix netbird wrapper (#499273)

This commit is contained in:
Pol Dellaiera 2026-03-13 08:06:52 +00:00 committed by GitHub
commit fda6d7e7d7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 6 deletions

View file

@ -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"
'')
];

View file

@ -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;
};
};
};
/*