feat: install-iso creator
This commit is contained in:
11 files changed
+1442
No files matched your search
@@ -0,0 +1,63 @@
|
||||
# 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,
|
||||
}:
|
||||
|
||||
writeShellApplication {
|
||||
name = "proxy-suite-install";
|
||||
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;
|
||||
};
|
||||
text = lib.concatStringsSep "\n" [
|
||||
(builtins.readFile ./net-lib.sh)
|
||||
(builtins.readFile ./installer.sh)
|
||||
];
|
||||
}
|
||||
Reference in new issue
Block a user