Add NixOS installation instructions (#785)

I've added installation instructions for both the package and service. However, the language is somewhat informal. (The instructions, while may seem unclear to someone not familiar with NixOS, should actually be perfectly clear to anybody using NixOS, while being brief along the lines of other Distros)
This commit is contained in:
S 2020-01-28 10:09:25 +05:30 committed by abraunegg
parent f2fe718389
commit 28b37007f2

View file

@ -6,6 +6,7 @@ This project has been packaged for the following Linux distributions:
* Fedora, simply install with `sudo dnf install onedrive`
* Arch Linux, available from AUR as [onedrive-abraunegg](https://aur.archlinux.org/packages/onedrive-abraunegg/)
* Slackware, available from the slackbuilds.org repository as [onedrive](https://slackbuilds.org/repository/14.2/network/onedrive/)
* NixOS, available on unstable channel (and stable since 20.03). Use package `onedrive` either by adding it to `configuration.nix` or by using the command `nix-env -iA <channel name>.onedrive`. This does not install a service. There is a (rejected) [PR](https://github.com/NixOS/nixpkgs/pull/77734) which has code which can be used to install a service. See documentation in the same PR.
**Important:** Distribution packages may be of an older release when compared to the latest release that is [available](https://github.com/abraunegg/onedrive/releases). If a package is out out date, please contact the package maintainer for resolution.