Files
proxy-suite-flake/deploy/installer.nix
T
2026-09-18 21:39:18 +05:00

61 lines
917 B
Nix

# proxy-suite-install: the installer the ISO runs on tty1 (deploy/installer.sh).
{
lib,
writeShellApplication,
xray,
flakeUrl,
flakeSource,
stateVersion,
coreutils,
curl,
dosfstools,
e2fsprogs,
gawk,
getent,
gnugrep,
gnused,
gptfdisk,
iproute2,
iputils,
mkpasswd,
nix,
nixos-install-tools,
openssl,
parted,
systemd,
util-linux,
xkcdpass,
}:
import ./script.nix { inherit lib writeShellApplication; } {
name = "proxy-suite-install";
script = ./installer.sh;
runtimeInputs = [
coreutils
curl
dosfstools
e2fsprogs
gawk
getent
gnugrep
gnused
gptfdisk
iproute2
iputils
mkpasswd
nix
nixos-install-tools
openssl
parted
systemd
util-linux
xkcdpass
xray
];
runtimeEnv = {
PSI_FLAKE_URL = flakeUrl;
PSI_FLAKE_SRC = "${flakeSource}";
PSI_STATE_VERSION = stateVersion;
};
}