README: add documentation on using as a Flake (thanks FlakeHub!)
This commit is contained in:
parent
faa143dad9
commit
d24cae2361
16
README.md
16
README.md
|
@ -2,3 +2,19 @@
|
|||
|
||||
Checks if you should reboot your NixOS machine in case an upgrade brought in
|
||||
some new goodies. :)
|
||||
|
||||
# Usage as a flake
|
||||
|
||||
[![FlakeHub](https://img.shields.io/endpoint?url=https://flakehub.com/f/thefossguy/nixos-needsreboot/badge)](https://flakehub.com/flake/thefossguy/nixos-needsreboot)
|
||||
|
||||
Add nixos-needsreboot to your `flake.nix`:
|
||||
|
||||
```nix
|
||||
{
|
||||
inputs.nixos-needsreboot.url = "https://flakehub.com/f/thefossguy/nixos-needsreboot/*.tar.gz";
|
||||
|
||||
outputs = { self, nixos-needsreboot }: {
|
||||
# Use in your outputs
|
||||
};
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue