Add sparse docs to readme

This commit is contained in:
Emelie Graven 2021-11-22 15:20:32 +01:00
parent 38d4e7e12d
commit ef89a0a949
Signed by: emelie
GPG key ID: C11123726DBB55A1

View file

@ -1,2 +1,11 @@
# nixos
Automatic deployment of nixaalb.org nix hosts using [niv](https://github.com/nmattia/niv) and [nixus](https://github.com/Infinisil/nixus).
Secrets are encrypted with [git-crypt](https://www.agwa.name/projects/git-crypt/). To access, ask an already existing gpg collaborator to add your key using `git-crypt add-gpg-user USERID` and push the automatically generated commit to the repo. Pull said commit yourself and then run `git-crypt unlock` to decrypt secrets.
## Updating
run `niv update` in `config/sources/`
## Deploying
run `nix-build deploy` and then `./result` if the derivation builds successfully.