If you're reading the docs on the README.md file you can find the full documentation at https://pkgs.tgirl.cloud/.
You can use this as either a flake or with channels, not that I know how to use channels.
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
tgirlpkgs = {
url = "github:tgirlcloud/pkgs";
inputs = {
nixpkgs.follows = "nixpkgs";
# flakes users don't need to track flake-compact
flake-compact.follows = "";
};
};
};
}
You can import the modules like so:
{ inputs, ... }:
{
# you should only import these if you're system type allows for it
imports = [
inputs.tgirlpkgs.nixosModules.default
inputs.tgirlpkgs.darwinModules.default
inputs.tgirlpkgs.homeManagerModules.default
];
}
You can add the packages like so:
{ pkgs, inputs, ... }:
{
environment.systemPackages = [
inputs.tgirlpkgs.packages.${pkgs.stdenv.hostPlatform.system}.packagename
];
}
You can add the overlay like so:
{ pkgs, inputs, ... }:
{
nixpkgs.overlays = [
inputs.tgirlpkgs.overlays.default
];
# then you can use the packages like normal
environment.systemPackages = [
pkgs.packagename
];
}