1 { pkgs, lib, config, ... }:
4 cfg = config.programs.feedbackd;
8 enable = lib.mkEnableOption ''
9 the feedbackd D-BUS service and udev rules.
11 Your user needs to be in the `feedbackd` group to trigger effects
13 package = lib.mkPackageOption pkgs "feedbackd" { };
16 config = lib.mkIf cfg.enable {
17 environment.systemPackages = [ cfg.package ];
19 services.dbus.packages = [ cfg.package ];
20 services.udev.packages = [ cfg.package ];
22 users.groups.feedbackd = {};