norisk update
This commit is contained in:
parent
3493f08b77
commit
7339260277
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
imports = [
|
||||
./suyu
|
||||
./norisk
|
||||
./steam
|
||||
./emulator
|
||||
|
|
|
@ -3,10 +3,39 @@
|
|||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
}: let
|
||||
customPkgs =
|
||||
pkgs
|
||||
// {
|
||||
suyu = pkgs.appimageTools.wrapType1 {
|
||||
name = "suyu";
|
||||
version = "0.0.3";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://git.suyu.dev/suyu/suyu/releases/download/v0.0.3/Suyu-Linux_x86_64.AppImage";
|
||||
hash = "sha256-26sWhTvB6K1i/K3fmwYg5pDIUi+7xs3dz8yVj5q7H0c=";
|
||||
};
|
||||
};
|
||||
};
|
||||
in {
|
||||
config = lib.mkIf config.games.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
cemu
|
||||
environment.systemPackages = [
|
||||
# pkgs.cemu
|
||||
customPkgs.suyu
|
||||
];
|
||||
|
||||
home-manager.users.joy.xdg = {
|
||||
desktopEntries = {
|
||||
suyu = {
|
||||
name = "Suyu";
|
||||
exec = "suyu";
|
||||
icon = "suyu";
|
||||
terminal = false;
|
||||
type = "Application";
|
||||
categories = ["Game" "Emulator"];
|
||||
mimeType = ["text/plain"];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -9,16 +9,16 @@
|
|||
// {
|
||||
noriskclient = pkgs.appimageTools.wrapType1 {
|
||||
name = "noriskclient";
|
||||
version = "0.5.10";
|
||||
version = "0.5.11";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://github.com/NoRiskClient/noriskclient-launcher/releases/download/v0.5.10/NoRiskClient-Linux.AppImage";
|
||||
hash = "sha256-y5kXP3kEW0UsV04JBeJCvSOuJf3/zo5s7ZigOpxbwkk=";
|
||||
url = "https://github.com/NoRiskClient/noriskclient-launcher/releases/download/v0.5.11/NoRiskClient-Linux.AppImage";
|
||||
hash = "sha256-Y0TSMQkJhpEgOgPbJwEK3vW85qYnnj69bRp5V7lhd/Q=";
|
||||
};
|
||||
};
|
||||
};
|
||||
logourl = "https://raw.githubusercontent.com/NoRiskClient/noriskclient-launcher/refs/heads/main/src/images/norisk_logo.png";
|
||||
logsha256 = "sha256-VwWwShUrT055mcabS8QTqqb8INgRB/08U2qEEIVYHlg=";
|
||||
iconurl = "https://raw.githubusercontent.com/NoRiskClient/noriskclient-launcher/refs/heads/main/src/images/norisk_logo.png";
|
||||
iconsha256 = "sha256-VwWwShUrT055mcabS8QTqqb8INgRB/08U2qEEIVYHlg=";
|
||||
in {
|
||||
config = lib.mkIf config.games.enable {
|
||||
environment.systemPackages = [
|
||||
|
@ -31,8 +31,8 @@ in {
|
|||
name = "NoRisk Client";
|
||||
exec = "noriskclient";
|
||||
icon = pkgs.fetchurl {
|
||||
url = logourl;
|
||||
sha256 = logsha256;
|
||||
url = iconurl;
|
||||
sha256 = iconsha256;
|
||||
};
|
||||
terminal = false;
|
||||
type = "Application";
|
||||
|
|
|
@ -1,40 +0,0 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
customPkgs =
|
||||
pkgs
|
||||
// {
|
||||
suyu = pkgs.appimageTools.wrapType1 {
|
||||
name = "suyu";
|
||||
version = "0.0.3";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://git.suyu.dev/suyu/suyu/releases/download/v0.0.3/Suyu-Linux_x86_64.AppImage";
|
||||
hash = "sha256-26sWhTvB6K1i/K3fmwYg5pDIUi+7xs3dz8yVj5q7H0c=";
|
||||
};
|
||||
};
|
||||
};
|
||||
in {
|
||||
config = lib.mkIf config.games.enable {
|
||||
environment.systemPackages = [
|
||||
customPkgs.suyu
|
||||
];
|
||||
|
||||
home-manager.users.joy.xdg = {
|
||||
desktopEntries = {
|
||||
suyu = {
|
||||
name = "Suyu";
|
||||
exec = "suyu";
|
||||
icon = "suyu";
|
||||
terminal = false;
|
||||
type = "Application";
|
||||
categories = ["Game" "Emulator"];
|
||||
mimeType = ["text/plain"];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue