From 7b50fc4982b9c75a01982b7bc04252f28966d060 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 11 Dec 2024 21:07:19 +0100 Subject: [PATCH 1/2] installer: move network-status into $PATH --- nixosModules/installer/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/nixosModules/installer/default.nix b/nixosModules/installer/default.nix index 49620e460..3e2dbbaff 100644 --- a/nixosModules/installer/default.nix +++ b/nixosModules/installer/default.nix @@ -6,7 +6,7 @@ }: let - network-status = pkgs.writeShellScript "network-status" '' + network-status = pkgs.writeShellScriptBin "network-status" '' export PATH=${ lib.makeBinPath ( with pkgs; @@ -50,7 +50,10 @@ in ./zfs-latest.nix ]; - environment.systemPackages = [ pkgs.nixos-facter ]; + environment.systemPackages = [ + pkgs.nixos-facter + network-status + ]; ######################################################################################################## # # From edbe87f841da5450646e1058cce35b3753ce60bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 11 Dec 2024 21:42:18 +0100 Subject: [PATCH 2/2] add documentation how to connect to installer. --- docs/site/getting-started/installer.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/site/getting-started/installer.md b/docs/site/getting-started/installer.md index 2d4d0dc53..eb2276b5d 100644 --- a/docs/site/getting-started/installer.md +++ b/docs/site/getting-started/installer.md @@ -67,6 +67,13 @@ sudo umount /dev/sdb1 --ssh-pubkey ``` If you do not have an ssh key yet, you can generate one with `ssh-keygen -t ed25519` command. + This ssh key will be installed into the root user. + + - **Connect to the installer + + On boot, the installer will display on-screen the IP address it received from the network. + If you need to configure Wi-Fi first, refer to the next section. + If Multicast-DNS (Avahi) is enabled on your own machine, you can also access the installer using the `flash-installer.local` address. - **List Keymaps**: You can get a list of all keymaps with the following command: @@ -128,6 +135,12 @@ sudo umount /dev/sdb1 sudo dd bs=4M conv=fsync status=progress if=./nixos-installer-x86_64-linux.iso of=/dev/sd ``` + - **Connect to the installer + + On boot, the installer will display on-screen the IP address it received from the network. + If you need to configure Wi-Fi first, refer to the next section. + If Multicast-DNS (Avahi) is enabled on your own machine, you can also access the installer using the `nixos-installer.local` address. + ### Step 3: Boot From USB Stick - To use, boot from the Clan USB drive with **secure boot turned off**. For step by step instructions go to [Disabling Secure Boot](../manual/secure-boot.md)