From ba41f18cc35727dc638b17685a480d2fe83714e1 Mon Sep 17 00:00:00 2001 From: polyfloyd Date: Fri, 28 Feb 2025 16:41:33 +0100 Subject: [PATCH] syncthing: Install desktop entry for opening the web interface --- pkgs/applications/networking/syncthing/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/networking/syncthing/default.nix b/pkgs/applications/networking/syncthing/default.nix index b28e669f1bbd..f67c408a8f59 100644 --- a/pkgs/applications/networking/syncthing/default.nix +++ b/pkgs/applications/networking/syncthing/default.nix @@ -90,6 +90,8 @@ in install -Dm644 "$mf" "$mandir/$(basename "$mf")" done + install -Dm644 etc/linux-desktop/syncthing-ui.desktop $out/share/applications/syncthing-ui.desktop + '' + lib.optionalString (stdenv.hostPlatform.isLinux) '' mkdir -p $out/lib/systemd/{system,user}