nixos/quark-goldleaf: init
This commit is contained in:
@@ -240,6 +240,7 @@
|
||||
./programs/proxychains.nix
|
||||
./programs/qdmr.nix
|
||||
./programs/qt5ct.nix
|
||||
./programs/quark-goldleaf.nix
|
||||
./programs/regreet.nix
|
||||
./programs/rog-control-center.nix
|
||||
./programs/rust-motd.nix
|
||||
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user