2024-09-21 09:44:32 +02:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: let
|
2024-09-18 22:46:59 +02:00
|
|
|
customPkgs =
|
|
|
|
pkgs
|
|
|
|
// {
|
|
|
|
noriskclient = pkgs.appimageTools.wrapType1 {
|
|
|
|
name = "noriskclient";
|
2024-09-28 12:06:19 +02:00
|
|
|
version = "0.5.10";
|
2024-09-18 22:46:59 +02:00
|
|
|
|
|
|
|
src = pkgs.fetchurl {
|
2024-09-28 12:06:19 +02:00
|
|
|
url = "https://github.com/NoRiskClient/noriskclient-launcher/releases/download/v0.5.10/NoRiskClient-Linux.AppImage";
|
|
|
|
hash = "sha256-y5kXP3kEW0UsV04JBeJCvSOuJf3/zo5s7ZigOpxbwkk=";
|
|
|
|
|
2024-09-18 22:46:59 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
in {
|
|
|
|
environment.systemPackages = [
|
|
|
|
customPkgs.noriskclient
|
|
|
|
];
|
|
|
|
|
|
|
|
home-manager.users.joy.xdg = {
|
|
|
|
desktopEntries = {
|
2024-09-21 09:44:32 +02:00
|
|
|
NoRiskClient = {
|
2024-09-18 22:46:59 +02:00
|
|
|
name = "NoRisk Client";
|
|
|
|
exec = "noriskclient";
|
|
|
|
icon = lib.mkForce "/home/joy/nix/modules/apps/gui/games/norisk/norisk.png";
|
|
|
|
terminal = false;
|
|
|
|
type = "Application";
|
|
|
|
categories = ["Game"];
|
|
|
|
mimeType = ["text/plain"];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|