From 3d63b02e8defd0ee899c92da677410f5edb67117 Mon Sep 17 00:00:00 2001 From: NotNite Date: Fri, 28 Apr 2023 15:06:39 -0400 Subject: [PATCH] add nix documentation --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 58edc0f..865376a 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,12 @@ export U_REVOCATION_KEY_PATH="$HOME/.u_revocation_keys" ./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 examples are with curl - you can (obviously) use any HTTP client.