add nix documentation
This commit is contained in:
parent
4add9bcc8d
commit
3d63b02e8d
1 changed files with 6 additions and 0 deletions
|
@ -41,6 +41,12 @@ export U_REVOCATION_KEY_PATH="$HOME/.u_revocation_keys"
|
||||||
./upload.sh /path/to/file
|
./upload.sh /path/to/file
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## setup (nix)
|
||||||
|
|
||||||
|
u has a nix flake you can use - just add `u.url = "git+https://git.n2.pm/NotNite/u.git";`. both the server (`u`) and client (`u-upload`) are available as packages.
|
||||||
|
|
||||||
|
you can also use the NixOS module (`u.nixosModule`) and enable `services.u`.
|
||||||
|
|
||||||
## using u
|
## using u
|
||||||
|
|
||||||
examples are with curl - you can (obviously) use any HTTP client.
|
examples are with curl - you can (obviously) use any HTTP client.
|
||||||
|
|
Loading…
Reference in a new issue