grafana-alloy: don't build the frontend twice
[NixPkgs.git] / nixos / modules / programs / mdevctl.nix
bloba7e7d01dffdfc495b5ff82dfaa1b84334d4fd9eb
1 { config, pkgs, lib, ... }:
3 let
4   cfg = config.programs.mdevctl;
5 in {
6   options.programs.mdevctl = {
7     enable = lib.mkEnableOption "Mediated Device Management";
8   };
10   config = lib.mkIf cfg.enable {
11     environment.systemPackages = with pkgs; [ mdevctl ];
13     environment.etc."mdevctl.d/scripts.d/notifiers/.keep".text = "";
14     environment.etc."mdevctl.d/scripts.d/callouts/.keep".text = "";
16   };