Merge pull request #203 from nix-community/image-installer
Image installer
This commit is contained in:
commit
b9b51b1d31
2 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ build_kexec_installer() {
|
|||
|
||||
build_image_installer() {
|
||||
declare -r tag=$1 arch=$2 tmp=$3
|
||||
out=$(nix build --print-out-paths --option accept-flake-config true -L ".#packages.${arch}.image-installer-${tag//./}${variant}")
|
||||
out=$(nix build --print-out-paths --option accept-flake-config true -L ".#packages.${arch}.image-installer-${tag//./}")
|
||||
echo "$out/iso/nixos-installer-${arch}.iso"
|
||||
}
|
||||
|
||||
|
|
|
@ -73,7 +73,7 @@ in
|
|||
--arg password "$(cat /var/shared/root-password)" \
|
||||
--arg onion_address "$(cat /var/shared/onion-hostname)" \
|
||||
--argjson local_addrs "$local_addrs" \
|
||||
'{ password: $password, tor: $onion_address, addresses: $local_addrs }' \
|
||||
'{ pass: $password, tor: $onion_address, addrs: $local_addrs }' \
|
||||
> /var/shared/login.json
|
||||
cat /var/shared/login.json | qrencode -s 2 -m 2 -t utf8 -o /var/shared/qrcode.utf8
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue