mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-25 02:26:19 +03:00
nixos/quark-goldleaf: init
This commit is contained in:
parent
0c343ce16e
commit
56a43aaba8
2 changed files with 19 additions and 0 deletions
18
nixos/modules/programs/quark-goldleaf.nix
Normal file
18
nixos/modules/programs/quark-goldleaf.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ 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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue