feat: update grayjay-desktop with a desktop entry
This commit is contained in:
parent
0298327fda
commit
60d71b8a44
2 changed files with 26 additions and 1 deletions
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
23
pkgs/grayjay-desktop/default.nix
Normal file
23
pkgs/grayjay-desktop/default.nix
Normal 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
|
||||
];
|
||||
}
|
Loading…
Add table
Reference in a new issue