nixos-config/modules/base/qmk/default.nix
Erwin Boskma 4cd0f83ce8
Some checks failed
/ check (push) Failing after 2m46s
Run nixfmt
2024-02-05 11:46:52 +01:00

30 lines
586 B
Nix

{ 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;
maintainers = [
{
email = "erwin@datarift.nl";
github = "eboskma";
name = "Erwin Boskma";
}
];
};
}