1 { config, lib, pkgs, ... }:
4 cfg = config.hardware.flipperzero;
9 options.hardware.flipperzero.enable = lib.mkEnableOption "udev rules and software for Flipper Zero devices";
11 config = lib.mkIf cfg.enable {
12 environment.systemPackages = [ pkgs.qFlipper ];
13 services.udev.packages = [ pkgs.qFlipper ];