update readme
This commit is contained in:
parent
79e3b9d9a8
commit
c9ad12be20
21
README.md
21
README.md
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue