summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRohan Verma <hello@rohanverma.net>2025-08-10 19:49:14 +0530
committerRohan Verma <hello@rohanverma.net>2025-08-10 19:49:14 +0530
commit4c2b315075218013f8dabe8523956dc0d6d94ce2 (patch)
tree72373fd2d1928b58f8629f2634dce15570ea0e26
parenthome-manager: 0-unstable-2025-07-28 -> 0-unstable-2025-08-06 (#431611) (diff)
downloadnixpkgs-4c2b315075218013f8dabe8523956dc0d6d94ce2.tar.gz
nixos/netbird: fix desktop file name pattern
The desktop file substitution was looking for 'Name=NetBird' but the actual desktop file contains 'Name=Netbird' (with lowercase 'b'). Fixes #432454
-rw-r--r--nixos/modules/services/networking/netbird.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/netbird.nix b/nixos/modules/services/networking/netbird.nix
index 84a59b3bf624..9d47901baffb 100644
--- a/nixos/modules/services/networking/netbird.nix
+++ b/nixos/modules/services/networking/netbird.nix
@@ -310,7 +310,7 @@ in
mkdir -p "$out/share/applications"
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 'Name=Netbird' "Name=NetBird @ ${client.service.name}" \
--replace-fail '${lib.getExe cfg.ui.package}' "$out/bin/${mkBin "netbird-ui"}"
'')
];