nixpkgs/nixos/modules/hardware/flipperzero.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
329 B
Nix
Raw Normal View History

2023-02-19 08:55:13 +01:00
{ config, lib, pkgs, ... }:
let
cfg = config.hardware.flipperzero;
in
{
options.hardware.flipperzero.enable = lib.mkEnableOption "udev rules and software for Flipper Zero devices";
2023-02-19 08:55:13 +01:00
config = lib.mkIf cfg.enable {
2023-02-19 08:55:13 +01:00
environment.systemPackages = [ pkgs.qFlipper ];
services.udev.packages = [ pkgs.qFlipper ];
};
}