From e340fef5de52b7302abccc1e3be99d144c64ff8b Mon Sep 17 00:00:00 2001 From: Jie Zhu Date: Wed, 21 May 2025 10:13:31 +0800 Subject: [PATCH] lan-mouse: install desktop and icon file --- pkgs/by-name/la/lan-mouse/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/la/lan-mouse/package.nix b/pkgs/by-name/la/lan-mouse/package.nix index a32cc9cc4956..529c4f98dbf0 100644 --- a/pkgs/by-name/la/lan-mouse/package.nix +++ b/pkgs/by-name/la/lan-mouse/package.nix @@ -50,6 +50,11 @@ rustPlatform.buildRustPackage rec { useFetchCargoVendor = true; cargoHash = "sha256-+UXRBYfbkb114mwDGj36oG5ZT3TQtcEzsbyZvtWTMxM="; + postInstall = '' + install -Dm444 de.feschber.LanMouse.desktop -t $out/share/applications + install -Dm444 lan-mouse-gtk/resources/de.feschber.LanMouse.svg -t $out/share/icons/hicolor/scalable/apps + ''; + meta = { description = "Software KVM switch for sharing a mouse and keyboard with multiple hosts through the network"; homepage = "https://github.com/feschber/lan-mouse";