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