nixos-configs/scopedPackages/default.nix
matt1432 fdbd5cb2df
All checks were successful
Discord / discord commits (push) Has been skipped
docs: add generated scopedPackages readme
2025-01-21 20:45:05 -05:00

35 lines
836 B
Nix

{
inputs ? {},
mkVersion ? {},
pkgs ? {},
description ? false,
}: let
inherit (pkgs.lib) recurseIntoAttrs;
mkScope = file: desc:
if description
then desc
else
recurseIntoAttrs
(pkgs.callPackage file ({inherit mkVersion;} // inputs));
in {
dracula = mkScope ./dracula ''
Custom derivations that each represent an app's Dracula Theme.
'';
firefoxAddons = mkScope ./firefox-addons ''
Every extensions I use in my firefox module.
'';
hass-components = mkScope ./hass-components ''
Components I use for Home-Assistant that aren't in nixpkgs.
'';
lovelace-components = mkScope ./lovelace-components ''
Lovelace components I use for Home-Assistant that aren't in nixpkgs.
'';
mpvScripts = mkScope ./mpv-scripts ''
MPV scripts I use that aren't in nixpkgs.
'';
}