pacifidlog: add hdd-ui

This commit is contained in:
Aly Raffauf 2024-10-13 17:27:50 -04:00
parent 68ea6a037c
commit 06411e63fb
3 changed files with 36 additions and 4 deletions

View file

@ -1,4 +1,3 @@
{ fetchFromGitHub
, lib
, python3

View file

@ -43,9 +43,15 @@
};
};
environment.variables = {
FLAKE = lib.mkForce "github:alyraffauf/nixcfg/add-pacifidlog";
GDK_SCALE = "2";
environment = {
systemPackages = [
(pkgs.callPackage ./hhd-ui.nix {})
];
variables = {
FLAKE = lib.mkForce "github:alyraffauf/nixcfg/add-pacifidlog";
GDK_SCALE = "2";
};
};
jovian = {

View file

@ -0,0 +1,27 @@
{
fetchFromGitHub,
appimageTools,
fetchurl,
hidapi,
kmod,
lib,
python3,
toybox,
}:
appimageTools.wrapType2 rec {
pname = "hhd-ui";
version = "3.2.1";
src = fetchurl {
url = "https://github.com/hhd-dev/hhd-ui/releases/download/v${version}/${pname}.AppImage";
hash = "sha256-RRXVoeWOO/pR+CAEY0J6Buf/RhA+G0PdxGQVMdAHfwA=";
};
meta = with lib; {
homepage = "https://github.com/hhd-dev/hhd-ui/";
description = "A UI app that can manage Handheld Daemon settings from Steam, the Desktop, and the Web.";
platforms = platforms.linux;
license = licenses.mit;
maintainers = with maintainers; [ harryaskham ];
mainProgram = "hhd-ui";
};
}