1
0
Fork 0

README: add documentation on using as a Flake (thanks FlakeHub!)

This commit is contained in:
Pratham Patel 2024-03-05 10:19:38 +05:30
parent faa143dad9
commit d24cae2361
Signed by: thefossguy
SSH Key Fingerprint: SHA256:/B3wAg7jnMEBQ2JwkebbS/eXVZANDmqRfnd9QkIhxMI
1 changed files with 16 additions and 0 deletions

View File

@ -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
};
}
```