Add keyleds

This commit is contained in:
Dave Gallant
2022-05-28 01:50:47 -04:00
parent 0cb0739470
commit 80e7729ab4
4 changed files with 28 additions and 1 deletions

View File

@@ -177,6 +177,7 @@ in
google-chrome
guake
kazam
keyleds
linuxPackages.perf
minecraft
mojave-gtk-theme

View File

@@ -44,5 +44,10 @@
'';
exportConfiguration = true;
};
services.udev.extraRules = ''
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0666"
'';
}

View File

@@ -2,7 +2,7 @@ final: prev: {
aws-connect = prev.callPackage ./aws-connect { };
aws-role-play = prev.callPackage ./aws-role-play { };
changedetection.io = prev.callPackage ./changedetection.io { };
keyleds = prev.callPackage ./keyleds { };
lpass = prev.callPackage ./lastpass { };
rfd = prev.callPackage ./rfd { };
srv = prev.callPackage ./srv { };

View File

@@ -0,0 +1,21 @@
{ pkgs
, stdenv
, fetchFromGitHub
,
}:
stdenv.mkDerivation rec {
name = "keyleds";
version = "1.1.1";
src = fetchFromGitHub {
name = "source-${name}-${version}";
owner = "keyleds";
repo = "keyleds";
rev = "v${version}";
sha256 = "sha256-KCWmaRmJTmZgTt7HW9o6Jt1u4x6+G2j6T9EqVt21U18=";
};
nativeBuildInputs = with pkgs; [ cmake pkgconfig ];
buildInputs = with pkgs; [ xlibsWrapper xorg.libXi libuv systemd luajit libyaml ];
}