mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-26 01:51:55 -05:00
pacifidlog: add hdd-ui
This commit is contained in:
parent
68ea6a037c
commit
06411e63fb
|
@ -1,4 +1,3 @@
|
|||
|
||||
{ fetchFromGitHub
|
||||
, lib
|
||||
, python3
|
||||
|
|
|
@ -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 = {
|
||||
|
|
27
hosts/pacifidlog/hhd-ui.nix
Normal file
27
hosts/pacifidlog/hhd-ui.nix
Normal 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";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue