My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/os-specific/linux/uhk-udev-rules/default.nix

20 lines
516 B

{ lib, stdenv, uhk-agent }:
stdenv.mkDerivation {
pname = "uhk-udev-rules";
inherit (uhk-agent) version;
dontUnpack = true;
dontBuild = true;
installPhase = ''
runHook preInstall
install -D -m 644 ${uhk-agent.out}/rules/50-uhk60.rules $out/lib/udev/rules.d/50-uhk60.rules
runHook postInstall
'';
meta = {
description = "udev rules for UHK keyboards from https://ultimatehackingkeyboard.com";
inherit (uhk-agent.meta) license;
maintainers = [ lib.maintainers.ngiger ];
};
}