1 { config, lib, pkgs, ... }:
6 cfg = config.programs.flashrom;
9 options.programs.flashrom = {
13 description = lib.mdDoc ''
14 Installs flashrom and configures udev rules for programmers
15 used by flashrom. Grants access to users in the "flashrom"
21 config = mkIf cfg.enable {
22 services.udev.packages = [ pkgs.flashrom ];
23 environment.systemPackages = [ pkgs.flashrom ];
24 users.groups.flashrom = { };