1 { config, lib, pkgs, ... }:
3 cfg = config.programs.ns-usbloader;
7 programs.ns-usbloader = {
8 enable = lib.mkEnableOption "ns-usbloader application with udev rules applied";
12 config = lib.mkIf cfg.enable {
13 environment.systemPackages = [ pkgs.ns-usbloader ];
14 services.udev.packages = [ pkgs.ns-usbloader ];
17 meta.maintainers = pkgs.ns-usbloader.meta.maintainers;