# Installer for this flake: disks (disko), keys, secrets check, nixos-install. # nixos-install, nixos-generate-config and nixos-enter come from the NixOS # installer environment, not from here. { lib, writeShellApplication, coreutils, findutils, gawk, gnugrep, gnutar, util-linux, jq, git, age, openssh, sbctl, disko, }: writeShellApplication { name = "install-system"; runtimeInputs = [ coreutils findutils gawk gnugrep gnutar util-linux jq git age openssh sbctl disko ]; text = builtins.readFile ./install-system.sh; meta = { description = "Partition, install and key this NixOS flake from the NixOS installer"; mainProgram = "install-system"; platforms = lib.platforms.linux; }; }