update readme

This commit is contained in:
xenia 2024-12-01 23:25:04 -05:00
parent 52c2bf19cf
commit 4de2918dac
1 changed files with 16 additions and 4 deletions

View File

@ -41,10 +41,22 @@ for flake usage, add this repo as an input and don't input nixpkgs at all, since
} }
``` ```
note that overriding inputs to the flake won't necessarily work because of the way nixpkgs registers note that the dragnpkgs module sets a couple defaults -- see module.nix and the inline modules in
itself with the system. this requires really annoying hacks to get working at all. if you want to flake.nix for details
depend on `dragnpkgs` with a different version of `nixpkgs` (ie not 24.11 or unstable), clone the - disables nixpkgs self-registration in the flake registry and nix path and enables a
repo and recreate `flake.lock`. aren't flakes so cool and fun!!!! dragnpkgs-specific registration mechanism for these that is enabled by default, see
`options.dragnpkgs`
- in flake.nix but not in module.nix: disable channels
- add lix cache and its keys to substitutors
- enable experimental features `nix-command flakes repl-flake`
- disable the default flake registry. i think it's cringe
- add a repl overlay that adds some useful utilities to `nix repl` -- see repl-overlay.nix for
details
also note that overriding inputs to the flake won't necessarily work because of the way nixpkgs
registers itself with the system. this requires really annoying hacks to get working at all. if you
want to depend on `dragnpkgs` with a different version of `nixpkgs` (ie not 24.11 or unstable),
clone the repo and recreate `flake.lock`. aren't flakes so cool and fun!!!!
## options documentation ## options documentation