File tree Expand file tree Collapse file tree 4 files changed +40
-5
lines changed
by-name/ni/nitrokey-udev-rules Expand file tree Collapse file tree 4 files changed +40
-5
lines changed Original file line number Diff line number Diff line change 1877118771 githubId = 521306;
1877218772 name = "Rob Glossop";
1877318773 };
18774+ robinkrahl = {
18775+ 18776+ github = "robinkrahl";
18777+ githubId = 165115;
18778+ keys = [ { fingerprint = "EC7E F0F9 B681 4C24 6236 3842 B755 6972 702A FD45"; } ];
18779+ name = "Robin Krahl";
18780+ };
1877418781 roblabla = {
18775187821877618783 github = "roblabla";
Original file line number Diff line number Diff line change 1111 type = lib . types . bool ;
1212 default = false ;
1313 description = ''
14- Enables udev rules for Nitrokey devices. By default grants access
15- to users in the "nitrokey" group. You may want to install the
16- nitrokey-app package, depending on your device and needs.
14+ Enables udev rules for Nitrokey devices.
1715 '' ;
1816 } ;
1917 } ;
2018
2119 config = lib . mkIf cfg . enable {
22- services . udev . packages = [ pkgs . libnitrokey ] ;
20+ services . udev . packages = [ pkgs . nitrokey-udev-rules ] ;
2321 } ;
2422}
Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ stdenv ,
4+ fetchFromGitHub ,
5+ } :
6+
7+ stdenv . mkDerivation ( finalAttrs : {
8+ pname = "nitrokey-udev-rules" ;
9+ version = "1.0.0" ;
10+
11+ src = fetchFromGitHub {
12+ owner = "Nitrokey" ;
13+ repo = "nitrokey-udev-rules" ;
14+ rev = "v${ finalAttrs . version } " ;
15+ hash = "sha256-uq1+YQg+oe5UFphpy1AdxEYaPFyRle6ffYOPoU6Li28=" ;
16+ } ;
17+
18+ installPhase = ''
19+ install -D 41-nitrokey.rules -t $out/etc/udev/rules.d
20+ '' ;
21+
22+ meta = with lib ; {
23+ description = "udev rules for Nitrokey devices" ;
24+ homepage = "https://github.com/Nitrokey/nitrokey-udev-rules" ;
25+ license = [ licenses . cc0 ] ;
26+ maintainers = with maintainers ; [
27+ frogamic
28+ robinkrahl
29+ ] ;
30+ } ;
31+ } )
Original file line number Diff line number Diff line change @@ -824,7 +824,6 @@ mapAliases {
824824 neochat = libsForQt5 . kdeGear . neochat ; # added 2022-05-10
825825 newlibCross = newlib ; # Added 2024-09-06
826826 newlib-nanoCross = newlib-nano ; # Added 2024-09-06
827- nitrokey-udev-rules = libnitrokey ; # Added 2023-03-25
828827 nix-direnv-flakes = nix-direnv ;
829828 nix-ld-rs = nix-ld ; # Added 2024-08-17
830829 nix-repl = throw (
You can’t perform that action at this time.
0 commit comments