nixos/hardware.nitrokey: replace libnitrokey with nitrokey-udev-rules

As libnitrokey is no longer developed, the udev rules have been moved to
a separate repository, nitrokey-udev-rules, that is now also available
as a package in nixpkgs.

See also: https://github.com/NixOS/nixpkgs/issues/351921
This commit is contained in:
Robin Krahl 2024-10-30 09:59:51 +01:00
parent d43f004d1f
commit 38ec993a58
No known key found for this signature in database
GPG Key ID: B7556972702AFD45

View File

@ -19,6 +19,6 @@ in
};
config = lib.mkIf cfg.enable {
services.udev.packages = [ pkgs.libnitrokey ];
services.udev.packages = [ pkgs.nitrokey-udev-rules ];
};
}