1
0
Fork 0
Go to file
Pratham Patel 04e41ae65e
revert cdb9572a58
Heh, the original code was actually right...

The old system is the current system, which /run/booted-system
is actually pointing to. And, the newest system is the one that
/nix/var/nix/profiles/system is a symlink of.
2024-04-13 17:39:21 +05:30
.github/workflows github shows Node.js 16 deprication warning, **try** bumping actions/checkout to v4 2024-03-09 11:22:15 +05:30
src revert cdb9572a58 2024-04-13 17:39:21 +05:30
.envrc init commit: 0.1.0 2024-03-04 22:31:23 +05:30
.gitignore init commit: 0.1.0 2024-03-04 22:31:23 +05:30
Cargo.lock 0.1.5 2024-04-13 08:23:59 +05:30
Cargo.toml 0.1.5 2024-04-13 08:23:59 +05:30
README.md README: add documentation on using as a Flake (thanks FlakeHub!) 2024-03-05 10:19:38 +05:30
flake.lock nix flake update 2024-03-09 11:10:50 +05:30
flake.nix release 0.1.4 2024-03-09 11:14:46 +05:30

README.md

nixos-needsreboot

Checks if you should reboot your NixOS machine in case an upgrade brought in some new goodies. :)

Usage as a flake

FlakeHub

Add nixos-needsreboot to your flake.nix:

{
  inputs.nixos-needsreboot.url = "https://flakehub.com/f/thefossguy/nixos-needsreboot/*.tar.gz";

  outputs = { self, nixos-needsreboot }: {
    # Use in your outputs
  };
}