revmoing binaris

This commit is contained in:
joy 2024-10-03 21:32:31 +02:00
parent b4560ad0de
commit 9669edbca1
5 changed files with 18 additions and 4 deletions

View file

@ -13,10 +13,11 @@
src = pkgs.fetchurl { src = pkgs.fetchurl {
url = "https://github.com/NoRiskClient/noriskclient-launcher/releases/download/v0.5.10/NoRiskClient-Linux.AppImage"; url = "https://github.com/NoRiskClient/noriskclient-launcher/releases/download/v0.5.10/NoRiskClient-Linux.AppImage";
hash = "sha256-y5kXP3kEW0UsV04JBeJCvSOuJf3/zo5s7ZigOpxbwkk="; hash = "sha256-y5kXP3kEW0UsV04JBeJCvSOuJf3/zo5s7ZigOpxbwkk=";
}; };
}; };
}; };
backgroundUrl = "https://raw.githubusercontent.com/NoRiskClient/noriskclient-launcher/refs/heads/main/src/images/norisk_logo.png";
backgroundSha256 = "sha256-VwWwShUrT055mcabS8QTqqb8INgRB/08U2qEEIVYHlg=";
in { in {
environment.systemPackages = [ environment.systemPackages = [
customPkgs.noriskclient customPkgs.noriskclient
@ -27,7 +28,10 @@ in {
NoRiskClient = { NoRiskClient = {
name = "NoRisk Client"; name = "NoRisk Client";
exec = "noriskclient"; exec = "noriskclient";
icon = lib.mkForce "/home/joy/nix/modules/apps/gui/games/norisk/norisk.png"; icon = pkgs.fetchurl {
url = backgroundUrl;
sha256 = backgroundSha256;
};
terminal = false; terminal = false;
type = "Application"; type = "Application";
categories = ["Game"]; categories = ["Game"];

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

View file

@ -15,6 +15,10 @@
"HYPRCURSOR_THEME = Bibata-Modern-Ice" "HYPRCURSOR_THEME = Bibata-Modern-Ice"
"HYPRCURSOR_SIZE = 24" "HYPRCURSOR_SIZE = 24"
"NIXOS_OZONE_WL = 1" "NIXOS_OZONE_WL = 1"
"QT_QPA_PLATFORM,wayland;xcb"
"QT_QPA_PLATFORMTHEME = qt5ct"
"QT_AUTO_SCREEN_SCALE_FACTOR = 1"
"QT_WAYLAND_DISABLE_WINDOWDECORATION =1"
]; ];
xwayland = { xwayland = {
force_zero_scaling = true; force_zero_scaling = true;

View file

@ -1,4 +1,7 @@
{pkgs, ...}: { {pkgs, ...}: let
backgroundUrl = "https://wallpapers.joygnu.org/wallpapers/anime/ghibli-japanese-walled-garden.png";
backgroundSha256 = "sha256-10Lv25V0RG0mnw/O90DeVchCNWJbdktUADtuI+enEwM=";
in {
stylix = { stylix = {
enable = true; enable = true;
@ -21,7 +24,10 @@
base0F = "a89984"; # brown base0F = "a89984"; # brown
}; };
image = ./wallpaper.png; image = pkgs.fetchurl {
url = backgroundUrl;
sha256 = backgroundSha256;
};
cursor = { cursor = {
name = "Bibata-Modern-Ice"; name = "Bibata-Modern-Ice";

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4 MiB