add Readme with build and test instructions

This commit is contained in:
Trolli Schmittlauch 2019-10-21 22:47:32 +02:00
parent 488393fb22
commit 2fbfda643b

10
Readme.md Normal file
View file

@ -0,0 +1,10 @@
## NixOS overlay for [Seafile](https://seafile.com)
This is an ongoing attempt to package the Seafile server and create a NixOS module for it.
### testing
- building package:
1. add this overlay to your [nixpkgs overlay configuration](https://nixos.wiki/wiki/Overlays)
1. `nix-build '<nixpkgs>' -A seafile-server`
- testing the NixOS module in a VM: `NIXOS_CONFIG="$(pwd)/seafile-test.nix" nixos-rebuild build-vm --fast --show-trace && result/bin/run-nixos-vm`