1 { pkgs, lib, config, ... }:
6 cfg = config.programs.feedbackd;
10 enable = mkEnableOption (lib.mdDoc ''
11 Whether to enable the feedbackd D-BUS service and udev rules.
13 Your user needs to be in the `feedbackd` group to trigger effects.
16 description = lib.mdDoc ''
17 Which feedbackd package to use.
20 default = pkgs.feedbackd;
21 defaultText = literalExpression "pkgs.feedbackd";
25 config = mkIf cfg.enable {
26 environment.systemPackages = [ cfg.package ];
28 services.dbus.packages = [ cfg.package ];
29 services.udev.packages = [ cfg.package ];
31 users.groups.feedbackd = {};