c7cb07f092
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
18 lines
424 B
Nix
18 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;
|
|
}
|