about summary refs log tree commit diff
path: root/nixos/modules/programs
diff options
context:
space:
mode:
authorPeder Bergebakken Sundt <pbsds@hotmail.com>2024-02-16 23:15:06 +0100
committerGitHub <noreply@github.com>2024-02-16 23:15:06 +0100
commit513f2c6cf314019e2cf1494664c46a3a1f8244b4 (patch)
treeaba9252daa8d59ffe14efa22e063ac8a8b73ff00 /nixos/modules/programs
parent8f5ce995405a1edaadb4fc2351cbbb4bd6d510f9 (diff)
parent56a43aaba8fa19cf63f53462f9fa357d4644f01c (diff)
downloadnixlib-513f2c6cf314019e2cf1494664c46a3a1f8244b4.tar
nixlib-513f2c6cf314019e2cf1494664c46a3a1f8244b4.tar.gz
nixlib-513f2c6cf314019e2cf1494664c46a3a1f8244b4.tar.bz2
nixlib-513f2c6cf314019e2cf1494664c46a3a1f8244b4.tar.lz
nixlib-513f2c6cf314019e2cf1494664c46a3a1f8244b4.tar.xz
nixlib-513f2c6cf314019e2cf1494664c46a3a1f8244b4.tar.zst
nixlib-513f2c6cf314019e2cf1494664c46a3a1f8244b4.zip
Merge pull request #251015 from TomaSajt/quark-goldleaf
quark-goldleaf: init at 1.0.0
Diffstat (limited to 'nixos/modules/programs')
-rw-r--r--nixos/modules/programs/quark-goldleaf.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/nixos/modules/programs/quark-goldleaf.nix b/nixos/modules/programs/quark-goldleaf.nix
new file mode 100644
index 000000000000..71aadc8c594e
--- /dev/null
+++ b/nixos/modules/programs/quark-goldleaf.nix
@@ -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;
+}