docs: clean up and remove TODOs

This commit is contained in:
matt1432 2025-02-18 02:41:02 -05:00
parent 977cb08ae8
commit a42f4091d0
6 changed files with 64 additions and 55 deletions

22
inputs/README.md Normal file
View file

@ -0,0 +1,22 @@
# Inputs
To allow use of the full nix language for my inputs, I use [genflake](https://github.com/jorsn/flakegen).
Therefore, the flake I edit is located at `$FLAKE/_outputs.nix`.
I also prefer using a more descriptive format for my inputs like so:
```nix
nixpkgs = {
type = "github";
owner = "NixOS";
repo = "nixpkgs";
# Branch name
ref = "nixos-unstable";
# Pin this input to a specific commit
rev = "842d9d80cfd4560648c785f8a4e6f3b096790e19";
};
```
to make it more clear what is what in the flake URI

View file

@ -1,4 +1,3 @@
# TODO: add README
let
inherit (import ./lib.nix) mkInput mkHyprDep mkSrc;
inherit (builtins) listToAttrs map removeAttrs;