From 5cd864baa0e19aad877f7954543615934abb88ce Mon Sep 17 00:00:00 2001 From: roxwize Date: Sun, 26 Jan 2025 01:04:48 -0500 Subject: [PATCH] ~ Signed-off-by: roxwize --- nixos/pkgs/ynodesktop/default.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/nixos/pkgs/ynodesktop/default.nix b/nixos/pkgs/ynodesktop/default.nix index eedf765..8113b42 100644 --- a/nixos/pkgs/ynodesktop/default.nix +++ b/nixos/pkgs/ynodesktop/default.nix @@ -9,6 +9,7 @@ imagemagick, makeWrapper, nodejs, + copyDesktopItems, electron, makeDesktopItem }: stdenv.mkDerivation rec { @@ -36,6 +37,7 @@ imagemagick makeWrapper nodejs + copyDesktopItems ]; yarnBuildScript = "electron-builder"; @@ -63,15 +65,17 @@ runHook postInstall ''; - desktopItems = [( - makeDesktopItem { + desktopItems = [ + (makeDesktopItem { name = pname; desktopName = "YNOdesktop"; + genericName = "Desktop client for Yume Nikki Online"; + comment = "Play Yume Nikki Online"; exec = "ynodesktop"; icon = "ynodesktop"; categories = [ "Game" ]; - } - )]; + }) + ]; meta = with lib; { description = "A desktop client for Yume Nikki Online with Discord Rich Presence";