1 { config, lib, pkgs, ... }:
4 cfg = config.programs.dmrconfig;
7 meta.maintainers = [ ];
11 programs.dmrconfig = {
12 enable = lib.mkOption {
14 type = lib.types.bool;
16 Whether to configure system to enable use of dmrconfig. This
17 enables the required udev rules and installs the program.
19 relatedPackages = [ "dmrconfig" ];
22 package = lib.mkPackageOption pkgs "dmrconfig" { };
27 config = lib.mkIf cfg.enable {
28 environment.systemPackages = [ cfg.package ];
29 services.udev.packages = [ cfg.package ];