nixos/flashprog: Enable libjaylink and libftdi modules
flashprog uses the libraries libjaylink and libftdi. So in order for flashprog to work properly for non-privileged users, enable their related NixOS modules which enable several udev rules for devices used by flashprog. Signed-off-by: Felix Singer <felixsinger@posteo.net>
This commit is contained in:
parent
9926a81f84
commit
350127c4e7
@ -20,6 +20,8 @@ in
|
||||
config = lib.mkIf cfg.enable {
|
||||
services.udev.packages = [ cfg.package ];
|
||||
environment.systemPackages = [ cfg.package ];
|
||||
hardware.libjaylink.enable = true;
|
||||
hardware.libftdi.enable = true;
|
||||
};
|
||||
|
||||
meta.maintainers = with lib.maintainers; [ felixsinger ];
|
||||
|
Loading…
x
Reference in New Issue
Block a user