All tracked files were committed as 755; only Nix reads them. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JZ16yf4acmaSiHq81vyQ6Z
43 lines
784 B
Nix
43 lines
784 B
Nix
# 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;
|
|
};
|
|
}
|