nixos/netbird: fix netbird wrapper (#499273)
This commit is contained in:
@@ -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"
|
||||
'')
|
||||
];
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user