diff options
author | Peder Bergebakken Sundt <pbsds@hotmail.com> | 2024-02-16 23:15:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-16 23:15:06 +0100 |
commit | 513f2c6cf314019e2cf1494664c46a3a1f8244b4 (patch) | |
tree | aba9252daa8d59ffe14efa22e063ac8a8b73ff00 /nixos/modules | |
parent | 8f5ce995405a1edaadb4fc2351cbbb4bd6d510f9 (diff) | |
parent | 56a43aaba8fa19cf63f53462f9fa357d4644f01c (diff) | |
download | nixlib-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')
-rw-r--r-- | nixos/modules/module-list.nix | 1 | ||||
-rw-r--r-- | nixos/modules/programs/quark-goldleaf.nix | 18 |
2 files changed, 19 insertions, 0 deletions
diff --git a/nixos/modules/module-list.nix b/nixos/modules/module-list.nix index ec022713e12e..deb7b382e3d1 100644 --- a/nixos/modules/module-list.nix +++ b/nixos/modules/module-list.nix @@ -241,6 +241,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 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; +} |