Add info about installing with NixOS to README

This commit is contained in:
Stefano Mazzucco 2019-08-21 20:58:24 +01:00
parent 38ad9710aa
commit 51f43bd03e
1 changed files with 8 additions and 0 deletions

View File

@ -14,6 +14,8 @@ documentation).
# Installation
## Luarocks
The easiest way to install this widget is to use `luarocks`:
luarocks install power_widget
@ -51,6 +53,12 @@ an [X Display Manager](https://en.wikipedia.org/wiki/Display_manager) you will
need to do what explained above in your `~/.xprofile` or `~/.xinitrc`. See the
documentation of your display manager of choice for more information.
## NixOS
If you are on NixOS, you can install this package from
[nix-stefano-m-overlays](https://github.com/stefano-m/nix-stefano-m-nix-overlays).
# Configuration
The widget will display the battery icons defined in your GTK+ theme and it