From a5b1f4abab5b277b807bde3d089df8f1cd2cc98c Mon Sep 17 00:00:00 2001 From: Aditya Gaitonde Date: Wed, 29 Nov 2023 11:18:16 +0530 Subject: [PATCH] docs(Readme.md): Added instructions for nixpkgs install --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 2f41627c..38154a1b 100644 --- a/README.md +++ b/README.md @@ -86,6 +86,19 @@ There is also a SlackBuild available here: [slackbuilds:bumblebee-status](http:/ An ebuild, for Gentoo Linux, is available on [gallifrey overlay](https://github.com/fedeliallalinea/gallifrey/tree/master/x11-misc/bumblebee-status). Instructions for adding the overlay can be found [here](https://github.com/fedeliallalinea/gallifrey/blob/master/README.md). +bumblebee-status is also avaliable in nixpkgs unstable channel- many thanks to [@augustebaum][https://github.com/augustebaum]! + +For installing from nixpkgs, add the following snippet into your `configuration.nix`: + +```nix +{ + environment.systemPackages = with pkgs; [ + (bumblebee-status.override{plugins = p:[p.cpu];}) + ]; +} +``` +replace `[p.cpu]` with the list of plugins that you want to use. + # Dependencies [Available modules](https://bumblebee-status.readthedocs.io/en/main/modules.html) lists the dependencies (Python modules and external executables) for each module. If you are not using a module, you don't need the dependencies.