{ pkgs }: let commonInputs = with pkgs; [ git gnupg sops nix coreutils util-linux nixos-facter ]; in { install = pkgs.writeShellApplication { name = "nixos-install"; runtimeInputs = commonInputs ++ [ pkgs.disko-install ]; text = builtins.readFile ./install.sh; }; setup = pkgs.writeShellApplication { name = "nixos-setup"; runtimeInputs = commonInputs ++ (with pkgs; [ ssh-to-age ripgrep sd nh fd ]); text = builtins.readFile ./setup.sh; }; }