/nixos-needsreboot

Determine if you need to reboot your NixOS machine

Primary LanguageRust

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