{ pkgs, ... }: pkgs.writeShellApplication { name = "upgrade-system"; text = builtins.readFile ./upgrade-system.sh; runtimeInputs = with pkgs; [ curl jq nix gnugrep nixos-needsreboot ]; }