update readme

This commit is contained in:
xenia 2024-04-23 14:14:23 -04:00
parent 79e3b9d9a8
commit c9ad12be20
1 changed files with 21 additions and 0 deletions

View File

@ -18,6 +18,27 @@ dragnpkgs provides a set of nixos modules and a nixpkgs overlay containing custo
} }
``` ```
alternatively, add it as a nix channel
```bash
nix-channel --add https://git.lain.faith/haskal/dragnpkgs/archive/main.tar.gz dragnpkgs
```
then in system config
```nix
{config, lib, pkgs, ...}:
{
imports = [
<dragnpkgs>
];
}
```
for standalone nix on other distros, use `~/.config/nixpkgs/overlays.nix` to enable the dragnpkgs
overlay
```nix
(import <dragnpkgs> {}).nixpkgs.overlays
```
## options documentation ## options documentation
documentation for options provided by dragnpkgs documentation for options provided by dragnpkgs