mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
19 lines
424 B
Nix
19 lines
424 B
Nix
{ config, lib, pkgs, ... }:
|
|
let
|
|
cfg = config.programs.quark-goldleaf;
|
|
in
|
|
{
|
|
options = {
|
|
programs.quark-goldleaf = {
|
|
enable = lib.mkEnableOption "quark-goldleaf with udev rules applied";
|
|
};
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
environment.systemPackages = [ pkgs.quark-goldleaf ];
|
|
services.udev.packages = [ pkgs.quark-goldleaf ];
|
|
};
|
|
|
|
meta.maintainers = pkgs.quark-goldleaf.meta.maintainers;
|
|
}
|