nixos-config/modules/base/qmk/default.nix

31 lines
586 B
Nix
Raw Normal View History

2023-01-06 01:10:01 +01:00
{ lib, stdenv, ... }:
let
pname = "qmk-udev-rules";
version = "0.19.6";
in
stdenv.mkDerivation {
inherit pname version;
src = ./.;
phases = [ "installPhase" ];
installPhase = ''
install -D $src/50-qmk.rules $out/lib/udev/rules.d/50-qmk.rules
'';
meta = with lib; {
description = "udev rules for QMK based keyboards";
homepage = "https://qmk.fm";
license = licenses.gpl2;
platforms = platforms.linux;
2024-02-05 11:46:52 +01:00
maintainers = [
{
email = "erwin@datarift.nl";
github = "eboskma";
name = "Erwin Boskma";
}
];
2023-01-06 01:10:01 +01:00
};
}