feat: update grayjay-desktop with a desktop entry

This commit is contained in:
nydragon 2025-02-03 13:30:52 +01:00
parent 0298327fda
commit 60d71b8a44
Signed by: nydragon
SSH key fingerprint: SHA256:WcjW5NJPQ8Dx4uQDmoIlVPLWE27Od3fxoe0IUvuoPHE
2 changed files with 26 additions and 1 deletions

View file

@ -22,7 +22,9 @@
packages = {
rustypaste = pkgs.callPackage ./pkgs/rustypaste { };
pineflash = pkgs.callPackage ./pkgs/pineflash { };
grayjay-desktop = inputs'.quasigod.packages.grayjay-desktop;
grayjay-desktop = pkgs.callPackage ./pkgs/grayjay-desktop {
grayjay-desktop = inputs'.quasigod.packages.grayjay-desktop;
};
};
};
};

View file

@ -0,0 +1,23 @@
{
symlinkJoin,
makeDesktopItem,
grayjay-desktop,
lib,
...
}:
let
name = "Grayjay";
desktopEntry = makeDesktopItem {
inherit name;
desktopName = name;
exec = "${lib.getExe grayjay-desktop}";
};
in
symlinkJoin {
inherit name;
paths = [
grayjay-desktop
desktopEntry
];
}